Skip to main content
Glama

Export a case

export_case
Read-onlyIdempotent

Everything stored about a case, as JSON, in one response. This is the portable copy the privacy policy offers. It is deliberately the whole record rather than a summary, so that what is returned here can be compared against what the policy says is kept.

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": {
      "case_id": "<case_id>"
    },
    "name": "export_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id returned by check_medical_bill (it starts with `case_`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / case_id / description
      Added value: +"The case id returned by check_medical_bill (it starts with `case_`)."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — the payload is deliberately the whole record, not a summary — but says nothing about size limits, redaction, latency, or whether the export is logged, all of which matter for a bulk-data read.

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 with the core fact (whole record, JSON, one response) front-loaded. The framing about the privacy policy and comparison is purposeful rather than filler, though it is slightly more rhetorical than an agent strictly needs.

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?

With no output schema, describing the return as complete JSON in a single response is the essential disclosure and it is made clearly. For a one-parameter read tool this is close to sufficient; only payload size and structure remain unstated.

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% and the single parameter already documents its provenance and the `case_` prefix format. The description adds no parameter-level meaning of its own, so baseline 3 applies.

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 resource and scope: everything stored about a case, returned as JSON in one response, and explicitly distinguishes the payload from 'a summary'. An agent knows this is a full-record read. It stops short of naming a sibling such as get_case, so the boundary against a narrower case read is left to inference.

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 rather than prescribed: it is framed as the portable copy offered by the privacy policy and as the artifact to compare against that policy. That gives a real use context, but there is no explicit when-not guidance and no named alternative (e.g. get_case for an ordinary lookup), so selection between siblings still requires guessing.

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