sql_editor_history_entry
One statement from the SQL Editor's run history, with its full SQL.
Instructions
One statement from the SQL Editor's run history, with its full SQL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes |
One statement from the SQL Editor's run history, with its full SQL.
One statement from the SQL Editor's run history, with its full SQL.
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes |
Changes observed during successful MCP inspections.
v0.9.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds only that the entry's SQL is included; it says nothing about behavior when entry_id is invalid, whether results can be empty, or any other trait beyond the annotation.
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?
A single tight sentence with no waste and the core content front-loaded. It is appropriately sized for a simple getter.
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?
For a one-parameter read tool with no output schema, this is minimally adequate. It conveys what is returned but leaves the required entry_id semantics and any failure behavior unaddressed.
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?
Schema description coverage is 0%, so the single required parameter entry_id is undocumented in the structured data. The description implies it identifies the entry but gives no format, range, or provenance guidance to compensate for the coverage gap.
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 names a specific resource (one statement from the SQL Editor's run history) and its payload (full SQL), which is enough to tell it apart from the sibling sql_editor_history list tool. It relies on an implied verb and does not explicitly state it fetches by id, but the scope is clear.
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?
No when-to-use guidance, no mention of when to prefer this over sql_editor_history or query_history_event, and no prerequisites. The agent must infer usage purely from the noun phrase.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.