Skip to main content
Glama

AI Source of Truth Evidence Rooms

Create an export

create_export

Export a case (files, hashes, the access log and its proofs) and return a short summary. Scope: export. REST twin: POST /api/cases/:id/exports. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required.

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

Input Schema

NameRequiredDescriptionDefault
kindNocourt (the default), cftc-tip, stripe-dispute (a pack shaped to Stripe's dispute evidence fields, which Rooms never files), or loadfile (a Concordance DAT and Opticon OPT volume with Bates-stamped page images).
formatNoExport format, when the export service offers more than one.
case_idYesThe case id (cas_...).
bates_prefixNoWith kind loadfile: the Bates prefix. Numbers continue from the case's last export.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false; the description adds the actual content of the export, the fact that a short summary is returned rather than the archive itself, and the full error surface including consent_required. It leaves out whether the export runs asynchronously or how long artifacts persist, which keeps it from a 5.

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?

Three short, front-loaded sentences: what it does, the scope gate, and the REST/error mapping. No filler, and the most decision-relevant information (payload contents) comes first.

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?

For a write operation with no output schema, the description covers payload, return shape ('short summary'), required scope and error cases. The remaining gap is operational: nothing says whether the export is synchronous or a job the agent must poll for, or whether repeat calls produce duplicate exports.

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%, so kind, format, case_id and bates_prefix are already documented in the schema, including the enum semantics and Bates continuity rule. The description adds nothing parameter-specific (it never mentions format or bates_prefix), so the baseline of 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?

Names a specific verb and resource — 'Export a case' — and enumerates the payload (files, hashes, access log and its proofs), so an agent knows exactly what it produces. It is not contrasted with any sibling, but the action is distinctive enough among the listed tools that confusion is unlikely.

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 'Scope: export' line plus the error set (insufficient_scope, consent_required, forbidden) tells the agent the preconditions to satisfy before calling. There is no explicit when-not or alternative route, but the REST twin gives a clear mapping for agents familiar with the HTTP API.

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