Skip to main content
Glama

AI Source of Truth Evidence Rooms

List items

list_items
Read-only

The items in a case, or in one folder, each with its version count and its latest version: hash, size, signer and registry digest. Never file bytes. Logged. Scope: cases:read. REST twin: GET /api/cases/:id/items. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, validation_error.

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

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id (cas_...).
folder_idNoOnly items in this folder (fld_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuine context beyond that: no file bytes are ever returned, calls are logged for audit, cases:read scope is required, and a concrete error taxonomy (unauthorized, insufficient_scope, not_found, forbidden, consent_required, validation_error) is enumerated. It does not cover pagination or result-size behavior, so not 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?

Front-loaded with the resource and payload, then scope, REST twin, and error set in tight fragments. Every clause carries information; nothing is padding despite the telegraphic style.

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?

There is no output schema, so the description carries the return-shape burden and does it well by enumerating the fields each item exposes and explicitly excluding file bytes. Combined with scope, audit logging, the REST twin, and the full error list, an agent has everything needed to call this correctly and interpret failures.

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 both case_id and folder_id are already documented including their prefixes. The description's 'in a case, or in one folder' restates the filtering semantics already present in the folder_id schema entry, adding little beyond confirming that omitting folder_id spans the whole case.

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?

The description names the resource (items), the two scopes (a whole case or a single folder), and precisely what each row carries (version count, latest version hash, size, signer, registry digest). 'Never file bytes' sharply distinguishes this metadata listing from content-fetching siblings like get_item. The verb is implicit in the noun-phrase construction rather than stated, which keeps it just short of a 5.

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: read the item inventory for a case, optionally narrowed by folder_id. It never explicitly contrasts with alternatives such as get_item for a single item, nor states prerequisites beyond the scope string. An agent can infer the choice, but the definition does not route it.

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