Tools and MCP servers
Connect agents to tools, documents, integrations, and MCP servers.
Tools give agents access to external capabilities.
Use tools when an agent needs to search documents, call APIs, query systems, or use an MCP server.
Tool areas
Pinter separates tool-related work into these app areas:
| Area | Route | Purpose |
|---|---|---|
| Tools | /tools | Manage tool definitions and tool details. |
| Documents | /documents | Upload and manage document sources. |
| Integrations | /integrations | Connect external systems. |
| MCP servers | /mcp-servers | Manage MCP server connections. |
| API Studio | /api-studio | Build and test API connector workflows. |
Available tool types
Agents can use two built-in ADK tools and several configurable tool types:
| Tool type | Purpose |
|---|---|
google_search | Built-in web search through ADK. |
code_execution | Built-in code execution through ADK. |
qdrant | Retrieval over document collections in Qdrant vector storage. |
snowflake | Query Snowflake data warehouses. |
snowflake_agent | Delegate analysis to a Snowflake Cortex agent. |
serper | Web search through the Serper API. |
api_connector | Call an external HTTP API with a configured request template. See Configure an API connector. |
| HTTP integration | Send an agent message to an external endpoint, including a Cursor Cloud Agent. |
mcp / MCP server | Expose tools from a connected MCP server to the agent. Servers can also attach interactive views to tools; see MCP Apps. |
| In-memory Tabular SQL | Query spreadsheet files (.xlsx, .csv) attached to Knowledge Hub via in-memory SQL execution. |
Configurable types store their credentials and settings as tool instances. Assign the tool instance to an agent in the builder; the backend resolves the reference at run time. See Backend and ADK architecture for the reference format.
In-memory Tabular Data Querying
When structured files (.csv, .tsv, .xlsx) are uploaded to Knowledge Hub, Pinter automatically profiles their schemas:
- Schema Profiling: Identifies column names, inferred types, and row count limits.
- Dynamic In-memory SQLite DB: Instead of forcing thousands of rows of raw CSV into the model context window (which wastes tokens and causes hallucination on aggregation), Pinter stages the spreadsheet into an in-memory database.
- Automatic Tools:
get_table_schema(document_id): Agent inspects table column names, datatypes, and sample rows.query_tabular_data(document_id, sql_query): Agent executes SQL aggregate queries (SUM, AVG, GROUP BY, WHERE filters) directly over the tabular data.
Recommended flow
- Create or connect the tool
Add the tool in the relevant app area.
- Test the tool
Verify the tool works before assigning it to an agent.
- Assign the tool to an agent
Open the agent builder and add the tool to the agent configuration.
- Run the agent
Use chat or evaluation to check the result.