Skip to main content
Glama

Get a portable case package

get_case_package
Read-onlyIdempotent

Return a portable arc-case-package/1 bundle for one published case: the record entry unaltered, the plain-language layer where published, the ancestry (builds-on, built-on-by, superseded stage history), the citation, and digests (record pin, entry digest, package digest) with verification instructions, so the case can be carried into another system and verified there against the served record. A case missing from the pinned record returns status not_found_at_pin together with that pin.

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_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesA consequences entry id or register_ref from the published record.

Output Schema

NameRequiredDescriptionDefault
entryNo
foundNo
caseIdNo
recordNo
schemaNo
statusNo
digestsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world traits, yet the description adds real substance: exactly what the package contains, that digests plus verification instructions are included, that verification is against the served record, and — importantly — that a case missing from the pinned record returns status not_found_at_pin with that pin rather than failing silently. That is a disclosed error path beyond what any structured field states.

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?

Two sentences, front-loaded with the verb and artifact type, then the contents, then the failure mode. The long parenthetical enumerations are dense but each item is substantive; nothing is redundant padding, though the first sentence could be broken for faster scanning.

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?

Given an output schema exists, the description need not restate return shapes, yet it still names the bundle's components and, crucially, documents the not_found_at_pin outcome that an agent would otherwise be surprised by. For a single-parameter, read-only retrieval tool this covers everything needed to call it and interpret a miss.

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 coverage is 100% and the single parameter's schema description already explains that it accepts a consequences entry id or register_ref from the published record. The description only reinforces the 'published case' scope and pin semantics; it adds no syntax, format or edge-case guidance specific to the argument, 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 verb and resource — 'Return a portable arc-case-package/1 bundle for one published case' — and then enumerates the bundle's contents (record entry, plain-language layer, ancestry, citation, digests). The portability/verification framing implicitly separates it from get_case, but no sibling is named explicitly, so it stops short of full differentiation.

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 'so the case can be carried into another system and verified there' clause gives a clear selection context: use this when you need a self-contained, verifiable export rather than a plain record fetch. It stops short of explicit exclusions (e.g. 'use get_case when you only need the entry'), so an agent must infer the boundary.

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