Skip to main content
Glama

proposeSqlEdit

Submit SQL edits with a rationale for explicit UI approval so users can review changes before execution; edits are never applied automatically.

Instructions

Propose SQL edit for explicit UI approval; never applies it automatically.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sql": "<sql>",
      "rationale": "<rationale>"
    },
    "name": "proposeSqlEdit"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYes
rationaleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations mark this as non-read-only and non-destructive; the description corroborates that by declaring the edit is never applied automatically, which is exactly the behavioral fact an agent most needs. It omits what is returned (e.g., a proposal handle or diff) needed to follow up on the proposal.

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

Conciseness5/5

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

A single tight clause pair with the non-application guarantee front-loaded immediately after the action. No wasted words and nothing buried.

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

Completeness3/5

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

For a simple two-parameter tool the core contract is conveyed, but with no output schema and no parameter documentation, the definition leaves what a call returns and what each argument should look like completely unspecified.

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% for both required parameters, so the description must carry the burden and it does not: neither 'sql' nor 'rationale' is mentioned. An agent must guess whether 'sql' expects a full statement, a fragment, or a diff, and what a rationale should contain.

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

Purpose4/5

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

States a specific verb+resource ('Propose SQL edit') and immediately bounds its effect ('never applies it automatically'), which functionally separates it from executeSql. It stops short of naming the sibling, so the distinction rests on inference rather than an explicit pointer.

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

Usage Guidelines3/5

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

The gating condition is implied clearly — edits are surfaced for explicit UI approval — but there is no explicit when-to-use/when-not statement or named alternative such as executeSql for actually running the statement. An agent can infer the workflow but must supply the routing logic itself.

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