Skip to main content
Glama

doc_propose_edit

Suggest changes to a document. changes is a list, each one of: {"find": "exact text", "replace": "new text"} (inside one paragraph, heading or table cell); {"insert_after": "exact text of the block before", "markdown": "new blocks"} ("" inserts at the end); {"delete": "exact text in the block, list item or table row to remove"}. Quote text exactly as docs_read shows it (without Markdown marks), enough to be found once. The user sees each change with your reason and sources and accepts or rejects it, unless edits are set to Auto.

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": {
      "id": "<id>",
      "changes": "<changes>",
      "author": "<author>",
      "reason": "<reason>"
    },
    "name": "doc_propose_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
modelNo
authorYes
reasonYes
changesYes
sourcesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the approval workflow: the user sees each proposed change with the supplied reason and sources and accepts or rejects it unless edits are set to Auto. That is real behavioral context an agent needs in order to reason about consequences. It still omits what happens when a find string matches zero or multiple times, which matters for a match-based edit tool.

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?

Front-loaded with the action, then the payload grammar as a compact list, then the matching caveat and the approval outcome. Dense but every line carries information; only the nested-brace formatting is awkward to parse inline.

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

Completeness4/5

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

For a six-parameter, no-output-schema mutation-adjacent tool, the description covers the risky part (change grammar and matching rules) and the outcome (user review). Gaps remain on the identity parameters and failure modes, but the core call semantics are complete.

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

Parameters3/5

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

Schema coverage is 0%, so the description must carry parameter meaning, and it does so well for the hardest parameter by enumerating all three change shapes and their matching rules. It also ties reason and sources to the user-visible review. However, id, model, and author are never mentioned, leaving three of six parameters with no semantics anywhere.

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?

"Suggest changes to a document" gives a specific verb (suggest) and resource (document), and the propose-vs-apply distinction is implicit in the wording and the explicit accept/reject flow. It does not name a sibling such as chat_edit or doc_create to disambiguate, so it stops short of a 5.

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?

Usage is implied rather than stated: it tells you to quote text "exactly as docs_read shows it," which quietly routes the agent to docs_read first, and the accept/reject flow implies when this is appropriate. There is no explicit when-to-use versus when-not guidance, and no statement about prerequisites such as permissions or document state.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.