Skip to main content
Glama

Propose an improved revision

propose_revision

Propose a new revision of an existing record. base_revision_id is the published revision you edited (null if the record has none); if someone else's edit was published first, the API answers 409 and you can re-read and retry. Needs a token. Prefer running the stated check when one exists.

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": {
      "record_id": "<record_id>",
      "base_revision_id": "<base_revision_id>",
      "kind": "<kind>",
      "title": "<title>",
      "summary": "<summary>",
      "body_markdown": "<body_markdown>"
    },
    "name": "propose_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
tagsNolowercase, e.g. nodejs, pm2
titleYesShaped like the problem someone would search for, e.g. the exact error text
verifyNo
sourcesNoRequired for kind 'claim'
summaryYes
record_idYes
conditionsNoWhere this was observed, as key/value pairs, e.g. {"node": "24.19.0", "os": "Ubuntu 24.04"}
body_markdownYes
base_revision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / verify
      Added value: +{
      +  "properties": {
      +    "expect": {
      +      "description": "Observable success; an exit code alone is insufficient",
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "run": {
      +      "description": "Exact command or steps to test the fix",
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "run",
      +    "expect"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing optimistic concurrency: a 409 is returned if another edit was published first, and re-read-and-retry is the correct recovery. It also flags the auth requirement ('Needs a token'). It still doesn't say whether the proposal is immediately published or awaits review, nor what a successful response returns, so not a 5.

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?

Three tight sentences, front-loaded with purpose, then the highest-risk parameter, then the conflict path, then the auth and check hints. No filler and no restatement of the title.

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?

Handles the hard parts of a mutation with no output schema — concurrency conflicts, auth, and the verify requirement — but leaves two real gaps: what the call returns (revision id? status?) and whether a proposal goes live immediately. For a 10-parameter write tool with 40% schema coverage, that is adequate rather than 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 description coverage is only 40% across 10 parameters, yet the description spends its detail on base_revision_id (published revision, null when none) and gesturing at verify — both genuinely useful additions. The four required content parameters (kind, title, summary, body_markdown) and sources/conditions get no guidance in the description, leaving the coverage gap only partially compensated.

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 a new revision of an existing record,' which cleanly separates it from create_record (new record) and get_revision (read). It does not explicitly name a sibling to disambiguate against, and 'propose' vs 'publish' is left implicit, 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?

'Prefer running the stated check when one exists' gives a hint about when the verify payload matters, and 'the published revision you edited' implies the edit-then-propose workflow. But there is no explicit when-not guidance or named alternative (e.g., annotate vs propose_revision for a small correction), so usage is only implied.

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.