get_table_foreign_keys
Retrieve foreign key constraints for a given table in Metabase to understand its relationships with other tables.
Instructions
Get foreign keys for a table in Metabase
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Retrieve foreign key constraints for a given table in Metabase to understand its relationships with other tables.
Get foreign keys for a table in Metabase
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for disclosure. It only states a read operation ('get') but omits any details about side effects, authentication requirements, rate limits, or safety. This is insufficient for a tool that may require specific permissions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at one sentence. It is front-loaded and free of fluff. However, the brevity sacrifices necessary detail, which is a trade-off that reduces its helpfulness slightly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter) but lack of output schema and annotations, the description should provide more context about return format or usage patterns. It does not help the agent understand what to expect or how to integrate this tool into a workflow.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no meaning to the 'id' parameter beyond what is in the schema. Schema coverage is 0%, and the description fails to explain how to specify the table or any additional context. The nested object structure is not clarified.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('get') and the resource ('foreign keys for a table'), making the purpose obvious. However, it does not explicitly distinguish this tool from sibling tools like get_table_metadata or get_table_related, which might also return related information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, nor are there any prerequisites or exclusions mentioned. The agent receives no help in deciding if this tool is appropriate for the current task.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/takeokunn/metabase-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server