Skip to main content
Glama

Propose a section update

propose_doc_update

Propose a queued rewrite of a living-document section for human review, leaving the live document unchanged. Use it to offer fresh status, metric, or assignee data or to flag incorrect steps.

Instructions

Propose a rewrite of one inside a document. The proposal is queued for human review on the Library → Suggested updates page. The live document is NOT changed by this call. Use this when you've gathered fresh data for a living-doc section (status, assignees, metrics) and want to offer the user an update, or when you followed a section and found it wrong (a step failed, a value differs): put what you saw in diff_summary. Requires docs:write scope.

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": {
      "slug": "<slug>",
      "section_id": "<section_id>",
      "proposed_html": "<proposed_html>"
    },
    "name": "propose_doc_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDocument slug.
section_idYesThe id attribute of the target <section data-rendra-refresh id="…"> element.
diff_summaryNoOne-sentence human summary of what changed and why.
proposed_htmlYesFull HTML for the replacement <section>. Must be a complete <section>…</section> element if you want it to round-trip cleanly through the approve step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the proposal is queued for human review on the Library → Suggested updates page, that the live document is unchanged, and that docs:write scope is required. These are exactly the non-obvious traits (approval workflow, auth requirement, side-effect destination) an agent needs before calling a write-flagged 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 core action and the key non-mutation fact, then use cases, then scope requirement. All sentences earn their place, though the auth requirement buried at the end would be stronger earlier.

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?

No output schema exists, and the description partly compensates by saying the proposal lands in a review queue rather than returning changed content. It does not say what the call returns (a proposal id, a confirmation), which is the main remaining gap for a mutation-style tool.

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 100%, so the schema already documents all four parameters including the requirement that proposed_html be a complete <section> element. The description adds only a light hint about what to put in diff_summary ('put what you saw'), which is marginally additive but not substantial.

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

Purpose5/5

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

States a specific verb and resource: 'Propose a rewrite of one <section data-rendra-refresh id="…"> inside a document.' It immediately clarifies the live document is NOT changed, which is the key distinction from the sibling update_document. An agent can distinguish this from update_document or trigger_section_refresh without opening any schema.

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

Usage Guidelines4/5

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

Gives two concrete triggering scenarios: gathered fresh data for a living-doc section (status, assignees, metrics), or a followed section turned out wrong. It does not name update_document explicitly as the alternative for live edits, relying on the negative statement to imply it, so exclusions are only indirect.

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