Tools
Wire automatically generates MCP tools for each container based on its content. This page explains the available tool types and how they’re created.
Tool Types
Section titled “Tool Types”Wire generates five types of tools from templates:
| Template | Purpose |
|---|---|
| list | List all records of an entity type |
| get | Retrieve a specific record by ID |
| filter | Find records matching criteria |
| search | Keyword search across records |
| semantic_search | AI-powered natural language search |
How Tools Are Generated
Section titled “How Tools Are Generated”When you upload files to a container, Wire runs an initialization workflow:
- Validate - Confirms files are uploaded and processed
- Analyze - AI examines the content to create a blueprint
- Transform - Extracts entities and records from structured data
- Generate Tools - Creates MCP tools based on discovered entities
- Chunk - Indexes unstructured content for semantic search
Example: NPS Survey Data
Section titled “Example: NPS Survey Data”Consider uploading a CSV file with NPS (Net Promoter Score) survey responses:
Response_ID,Customer,Plan,Survey_Date,NPS_Score,Category,Feedback_TextNPS-3000,Anonymous,Free,2025-11-05,4,Detractor,Switched to competitor. Better features.NPS-3001,Anonymous,Enterprise,2025-09-01,8,Passive,Works well but needs more features.NPS-3009,Acme Corp,Free,2025-11-08,9,Promoter,Best tool for AI context management....What Wire Discovers
Section titled “What Wire Discovers”Wire’s AI analyzes the file and identifies:
- Entity: NPS Response
- Fields: Response ID, Customer, Plan, Survey Date, NPS Score, Category, Feedback Text
- Field Types: Text, number, date, enum (Category has Detractor/Passive/Promoter values)
Generated Tools
Section titled “Generated Tools”Based on this analysis, Wire generates:
| Tool | What It Does |
|---|---|
list_nps_responses | List all survey responses |
get_nps_response | Get a specific response by ID |
filter_nps_responses | Filter by Plan, Category, date range, score range |
search_nps_responses | Search feedback text by keyword |
semantic_search_nps | Find responses by meaning (e.g., “frustrated customers”) |
Using the Tools
Section titled “Using the Tools”Your MCP client can now query this data naturally:
Show me all detractor responses from Enterprise customersWire’s filter_nps_responses tool handles this query, filtering by Category = "Detractor" and Plan = "Enterprise".
Find feedback mentioning pricing concernsThe semantic_search_nps tool finds relevant responses even if they don’t use the exact word “pricing” - matching phrases like “too expensive”, “not worth the price”, etc.
Entity Relationships
Section titled “Entity Relationships”When Wire detects relationships between entities across files (e.g., customers referenced in both a customer list and NPS responses), it enriches the tools to support filtering by related data.
Enabling and Disabling Tools
Section titled “Enabling and Disabling Tools”You can enable or disable individual tools from the container settings in the Wire dashboard. Disabled tools won’t appear to MCP clients.
Next Steps
Section titled “Next Steps”- Core Concepts - Learn about entities and records
- MCP Overview - How to connect and use tools