Skip to main content
Glama

Create claim

create_claim

Create a claim. claim_number is assigned automatically. Attach evidence separately via create_document_upload_url/add_document (project_id set to the same project).

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": {
      "project_id": "<project_id>",
      "title": "<title>"
    },
    "name": "create_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleYes
statusNo
agent_idNo
claim_typeNo
project_idYes
descriptionNo
claimed_amountNo
submitted_dateNo
approved_amountNo
schedule_impact_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), so the description's value is in the extra behavior it discloses: claim_number is auto-generated and evidence is a separate two-step operation. It stops short of saying what the response contains or whether status defaults on creation.

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?

Three short sentences, front-loaded with the action, then the auto-assignment caveat, then the follow-up workflow. No filler, though the final sentence is dense enough to read as shorthand.

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 mutation tool with 11 parameters, no output schema, and zero schema descriptions, this is thin — an agent knows how to create and how to attach evidence but not what any of the nine optional fields mean or how creation responses look. The claim_number and evidence notes help, but the field-level gap is large.

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?

With 0% schema description coverage across 11 parameters, the description must carry the burden and largely does not. Only project_id gets any semantic hint (it must match the document's project); title, description, claimed_amount, submitted_date, schedule_impact_days, and both enums are left entirely undocumented.

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 concrete verb and resource ('Create a claim') and adds a distinguishing fact — that claim_number is server-assigned rather than supplied. It does not contrast with siblings like create_change_order or update_claim, but the create semantics are 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?

It gives one useful workflow rule: evidence is not attached during creation, but via create_document_upload_url/add_document with project_id set to the same project. It offers no guidance on when to choose a claim over another record type such as a change order, so usage context is only partly covered.

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