Read the SQL data schema
read_data_schemaList the tables execute_sql can query, with every column's type and meaning, the query rules and example queries. Call once before writing SQL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
read_data_schemaList the tables execute_sql can query, with every column's type and meaning, the query rules and example queries. Call once before writing SQL.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. With no output schema, the description usefully discloses what the call returns (tables, column types/meanings, query rules, example queries), which the agent would otherwise have to guess.
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?
One sentence, front-loaded with the resource and followed by the contents and the call condition. No filler or redundant restatement of the title.
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 a zero-parameter read tool with no output schema, the description covers both what is returned and the one operational rule (invoke once before writing SQL). Nothing an agent needs to call it correctly is missing.
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 tool takes zero parameters, so there is no argument semantics to explain and the baseline is 4. The description correctly spends no words on nonexistent inputs.
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?
States a specific verb ('List') and a precisely scoped resource ('the tables execute_sql can query') plus the payload contents (column types and meanings, query rules, examples). It names the sibling it feeds into, so an agent can distinguish it from execute_sql and the list_* siblings at a glance.
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?
'Call once before writing SQL' gives an explicit trigger and ties the tool to the execute_sql workflow, which is real routing value. It stops short of stating a when-not condition (e.g., not needed again within a session) but the 'once' phrasing implies it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.