Skip to main content
Glama

Withdraw a case

withdraw_case

The plaintiff side withdraws the case, giving a reason. It closes without a verdict. Needs your API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdYesThe case ID (case_…).
reasonYesWhy (up to 1000 characters).
idempotencyKeyNoOptional, 16–128 characters of [A-Za-z0-9_-]. Send the same key again to retry this exact action safely; if omitted, the server generates one and returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower. The description adds real value by disclosing the terminal outcome ('closes without a verdict') and the auth requirement ('Needs your API key'). It does not say whether withdrawal is reversible, whether the case can be refiled, or how the optional idempotency key interacts with the idempotentHint=false annotation.

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?

Three short, front-loaded sentences with the actor and outcome first. 'Needs your API key' is the weakest line since auth is presumably uniform across the toolset, but it is brief and not harmful.

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

Completeness3/5

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

For a mutating, no-output-schema tool the description covers actor, action, outcome, and auth. It still leaves open what the case state looks like afterward and whether the action is irreversible, which an agent deciding between withdraw_case and dismiss_case would want.

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 caseId, reason, and idempotencyKey are already documented in the schema; baseline 3 applies. The description mentions 'giving a reason' but adds no format, length, or retry-safety detail beyond the schema, and notably omits any reference to the idempotency key.

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 (withdraw), resource (the case), actor scope (plaintiff side), and the outcome (closes without a verdict). This implicitly separates it from dismiss_case and withdraw_as_counsel, but it never names an alternative outright, so it stops short of a clean 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use/when-not guidance and no mention of the adjacent siblings an agent could confuse this with (dismiss_case, withdraw_as_counsel, withdraw_settlement_offer). The effect statement ('closes without a verdict') hints at usage but does not tell the agent which situation selects this tool.

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.