Skip to main content
Glama

AI Source of Truth Evidence Rooms

Create a case

create_case

Open a new evidence case in an organization. An agent that opens a case on its own grants becomes its investigator. Over the plan's active case limit the answer is payment_required with the price sheet in payment. Scope: cases:write. REST twin: POST /api/orgs/:org/cases. Errors: unauthorized, insufficient_scope, not_found, validation_error, payment_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": {
      "org_id": "<org_id>",
      "title": "<title>"
    },
    "name": "create_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes1 to 300 characters. Stays in Rooms; only its hash is logged.
org_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 real behavioral context beyond them — the caller becomes investigator, exceeding the plan's active case limit returns payment_required with a price sheet, and the required cases:write scope is stated. The enumerated error set (unauthorized, insufficient_scope, not_found, validation_error, payment_required) further fleshes out failure behavior; only return payload details are absent.

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?

Front-loaded with purpose, then scope, REST twin, and errors in compact clauses with no filler. The error enumeration is dense but earns its place for an agent deciding how to handle failures.

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 two-parameter mutation with no output schema, the definition covers authorization scope, plan-limit payment behavior, and the full error vocabulary, which is what an agent needs before calling. The remaining gap is the undocumented org_id parameter, which neither schema nor description explains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% (org_id is undocumented), and the description does not compensate: it never explains the org_id format or constraints. Title semantics (1-300 characters, hash-only logging) come entirely from the schema, not the description, so the description adds essentially no parameter meaning.

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 ('Open a new evidence case in an organization') and adds the REST twin POST /api/orgs/:org/cases, which pins the operation unambiguously. It does not explicitly contrast with the sibling create_agent_case, so an agent must infer the distinction from the investigator clause.

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?

Implied usage is clear (open a case when you need a new evidence case), and the investigator clause hints at the difference from create_agent_case. However, there is no explicit when-to-use/when-not statement or named alternative, so routing between the two case-creation tools is left to inference.

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