Skip to main content
Glama

Rewrite an injury's current status

update_injury_status
DestructiveIdempotent

Rewrite (don't append to) the injury's current summary so it reflects how it is NOW, based on the whole update log: 2-5 short sentences (current state, trend, what helps, what's OK to do). Also set restrictions (what to avoid right now, or empty when none) and status. Keep it manageable: drop outdated details (they stay in the log).

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": {
      "injury": "<injury>",
      "current_summary": "<current_summary>"
    },
    "name": "update_injury_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
injuryYesInjury id or name
statusNo
current_painNo
restrictionsNo
current_summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true and idempotentHint=true, and the description adds real context on top: the rewrite replaces existing text, but outdated details are not lost because 'they stay in the log.' That clarifies the blast radius of a destructive operation, which is the key ambiguity here. It does not address permissions, rate limits, or what the call returns.

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?

The critical instruction not to append is front-loaded, and the summary format is enumerated compactly in parentheses. The closing 'Keep it manageable' clause partly repeats the earlier '2-5 short sentences' and 'drop outdated details' points, so one clause is mildly redundant.

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 destructive mutation tool with no output schema and sparse schema descriptions, the description covers the essential decision inputs: what gets replaced, what survives, and how the summary should read. The remaining gaps are numeric field semantics (current_pain) and the meaning of the status values.

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

Parameters4/5

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

With schema coverage at only 20%, the description carries substantial weight and does so for two of five parameters: current_summary gets content and length guidance (2-5 short sentences covering current state, trend, what helps, what's OK), and restrictions gets a clear semantic ('what to avoid right now, or empty when none'). Injury's meaning is already in the schema, but current_pain is left undocumented in both places and status's four enum values are never explained.

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?

The description gives a specific verb plus resource ('Rewrite ... the injury's current summary') and states the scope it also touches (restrictions and status). The parenthetical '(don't append to)' draws a hard line against the append-style sibling add_injury_update, so an agent can pick correctly without opening either 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?

It states the condition clearly: use this when you need the summary to reflect how things are NOW, derived from the whole log, and explicitly not for appending entries. The exclusion is expressed behaviorally rather than by naming the alternative tool, which leaves a small inference step for the agent.

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.

Resources