Skip to main content
Glama
1franky

Data Platform MCP

by 1franky

list_relationships

List foreign keys linking tables in a database. Filter by schema or table to identify related data and dependencies.

Instructions

List foreign keys whose source or target matches the optional filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNo
schemaNo
connection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cache_statusYesObservable cache freshness and last refresh state.
table_filterYes
connection_idYes
relationshipsYes
schema_filterYes
contract_versionNo1.0.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior, but it only says 'List' which implies read-only. It does not explain filter semantics (e.g., exact vs partial match, AND vs OR), whether all relationships are returned when no filters are provided, or any limits or pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence, front-loaded with the main action. It avoids fluff, but is slightly too terse, omitting useful details that could be added without sacrificing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 3 parameters, no annotations, and only a vague description, completeness is lacking. Although an output schema exists, the description fails to explain the filtering behavior, required parameters, or how 'source or target' relates to the input fields, leaving an agent to infer too much.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description should compensate. It mentions 'optional filters' but does not name the table or schema parameters, nor explain how they combine or relate to source/target. The required connection_id is not mentioned at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists foreign keys filtered by source or target. This is a specific verb+resource+scope, and it distinguishes from sibling tools like list_tables or list_schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives. The description does not mention prerequisites, such as requiring a connection_id, or contrast with similar listing tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1franky/data-analits-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server