Skip to main content
Glama

get_case

Read-onlyIdempotent

Retrieve one case's scope, ledger sizes, grade, and grade history to resume an investigation or see why a case holds its current grade.

Instructions

[READ] One case: its scope, its ledger sizes, and its grade history.

WHEN: to pick up an investigation, or to see why a case sits at the grade it does. Returns counts and identifiers rather than the whole ledger — read the case folder itself (the path from open_case) for full evidence bodies.

RETURNS: {case_id, path, state, grade, opened_at, scope, evidence_count, sources, gap_count, blocking_gaps, grade_history}. sources is the distinct skills evidence came from, which is what corroboration is counted in.

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": "get_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id returned by open_case, or listed by list_cases. An unknown id is an error, never an empty case.
report_viewNoOptional brief, operator or investigation report. Adds report; omission preserves existing fields. Depth is not access control.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • addedInput schema / properties / report_view
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional brief, operator or investigation report. Adds report; omission preserves existing fields. Depth is not access control.",
      +  "title": "Report View"
      +}
  2. Addedv2.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavioral detail beyond those annotations: it returns counts and identifiers rather than the whole ledger, and it explicitly directs the agent to the case folder for full evidence bodies. It does not mention authorization or rate-limit behavior, but for this read-only tool those omissions are minor.

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?

The definition is front-loaded with '[READ]', then structured into WHEN and RETURNS sections. Each sentence contributes useful information: usage context, return summary, the distinction from full evidence bodies, and the meaning of `sources` for corroboration. There is no redundant restatement of annotations or schema fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description enumerates the returned fields: case_id, path, state, grade, opened_at, scope, evidence_count, sources, gap_count, blocking_gaps, and grade_history. Combined with the rich input schema and read-only annotations, this is complete enough for an agent to decide when to call the tool and understand what it will receive.

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%, so the schema already documents both `case_id` and `report_view` thoroughly, including that an unknown id is an error and that omission preserves existing fields. The description does not add parameter-level guidance beyond the schema; its mention of the `path` from open_case is about a returned value rather than an input parameter. Baseline 3 is appropriate when the schema carries the parameter semantics.

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 opens with a specific verb and resource: '[READ] One case'. It immediately defines the returned scope as scope, ledger sizes, and grade history, which distinguishes this summary view from sibling case tools like get_case_knowledge, get_case_readiness, and the full ledger accessible through the open_case path.

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?

The 'WHEN' paragraph gives clear usage contexts: picking up an investigation or diagnosing why a case has a particular grade. It also points to the case folder via the open_case `path` when full evidence bodies are needed, though it does not explicitly contrast against other sibling tools such as get_case_readiness or get_case_knowledge.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.