Skip to main content
Glama

doc_update_plan

Identifies which existing docs must be updated when specified files change, so you can target documentation revisions accurately.

Instructions

Identify which docs must change

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": {
      "changedFiles": "<changedFiles>"
    },
    "name": "doc_update_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
changedFilesYesFiles that changed
existingDocsNoExisting docs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and supplies almost nothing: it does not say whether the tool is read-only or mutates anything, whether it requires a repository or docs index to exist first, or what the result looks like. The only behavioral hint is the word 'plan' in the name, which is not part of the description.

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?

A single front-loaded sentence with zero filler, which is appropriate for a narrowly scoped step. Its brevity is efficient rather than padded, though it reads as a fragment that stops short of what the agent needs.

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 no annotations and no output schema, the definition never explains what is returned (a list of doc paths, a plan object, priorities) or how the two inputs interact. Given the complete absence of structured behavioral metadata, the description should be doing far more than seven words.

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 description coverage is 100%, so both parameters (changedFiles, existingDocs) are already documented in the schema and the description adds no syntax, format, or filtering semantics on top. Baseline 3 applies when the schema does all the parameter work.

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

Purpose3/5

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

The description gives an imperative verb and object ('Identify which docs must change'), so the broad intent is graspable. But it never says what the identification is based on (changed files vs. existing docs) and does nothing to separate it from the sibling doc_context_build, so an agent cannot confidently pick between them from the text alone.

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?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative or follow-up tool such as implementation_plan. The agent must infer from the name that this is a planning step run after code changes are known.

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