Skip to main content
Glama

Update claim

update_claim
DestructiveIdempotent

Renew, release, or complete a claim you hold. Pass the version you last read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesClaim ID.
actionYesrenew extends the lease; release and complete end it.
op_keyYesOperation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation.
ttl_secondsNoNew lease length when renewing.
expected_versionYesVersion you last read. The write fails if it changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the precondition that the caller must hold the claim and the version-passing convention, but does not explain lease expiry behavior, conflict outcomes, or permission requirements.

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?

Two short sentences, front-loaded with the action set and followed by the one non-obvious usage rule; no filler.

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 lease-mutation tool with full schema coverage, complete annotations and no output schema, the description covers the essentials. It stops short of routing between this tool and the sibling 'claim', which an agent must infer.

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%, including the action enum semantics and the op_key idempotency note, so the schema does the heavy lifting. The description reinforces only the expected_version parameter, adding no syntax or format detail beyond what the schema states.

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?

The description names a specific resource (claim) and enumerates the three operations it performs (renew, release, complete), which is far more specific than the title 'Update claim'. The qualifier 'a claim you hold' implicitly separates it from the sibling 'claim' tool, but the distinction is left to inference rather than stated.

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?

It gives one concrete usage rule ('Pass the version you last read'), which implies optimistic concurrency, and the action list tells the agent this is the mutation counterpart to acquiring a claim. However it never says when to renew versus release versus complete, nor what happens if the claim is not held.

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.