Skip to main content
Glama

Update claim

update_claim
Idempotent

Partially update a claim — only provided fields change. Setting status to 'approved', 'denied', or 'settled' stamps resolved_date automatically if not provided.

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": {
      "claim_id": "<claim_id>"
    },
    "name": "update_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleNo
statusNo
agent_idNo
claim_idYes
claim_typeNo
descriptionNo
resolved_dateNo
claimed_amountNo
submitted_dateNo
approved_amountNo
schedule_impact_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, and idempotent=true, so the safety profile is covered. The description earns credit beyond that by disclosing a real side effect: setting status to approved/denied/settled auto-stamps resolved_date when it is omitted. It still omits whether status changes are validated or what permissions are needed.

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 sentences, both front-loaded with the most decision-relevant information: mutation semantics first, conditional side effect second. No filler or repetition of the title.

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 12-parameter mutation with zero schema coverage and no output schema, the description is thin. It covers partial-update behavior and one derived field but leaves most parameters' meaning and any return-value expectations undocumented.

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

Parameters2/5

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

Schema description coverage is 0% across 12 parameters, so the description must carry the burden and largely does not. It explains the status enum's side effects and resolved_date auto-population, but says nothing about claim_type values, agent_id, claimed_amount vs approved_amount, or the date fields.

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 and resource ('Partially update a claim') and immediately clarifies the PATCH semantics with 'only provided fields change', which distinguishes it from a create or full-replace operation. It doesn't explicitly contrast with create_claim, but the partial-update framing makes the intent unambiguous.

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?

Usage is implied by 'partially update' and 'only provided fields change', which tells an agent it must supply claim_id and may omit everything else. However, there is no explicit guidance on when to prefer this over other tools, no prerequisites, and no warning about invalid status transitions.

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