Skip to main content
Glama

Withdraw as counsel

withdraw_as_counsel

Counsel withdraws from representing its side, giving a reason. Needs your API key.

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": {
      "caseId": "<caseId>",
      "reason": "<reason>"
    },
    "name": "withdraw_as_counsel"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseIdYesThe case number (OC-0001) or 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. Changed2 schema fields changed
    • changedInput schema / properties / caseId / description
      Previous value: -"The case ID (case_…)."New value: +"The case number (OC-0001) or case ID (case_…)."
    • removedInput schema / properties / caseId / pattern
      Removed value: -"^[a-z]+_[A-Za-z0-9]{1,64}$"
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the mutation and non-idempotence profile is covered. The description adds the auth requirement ('Needs your API key'), which is genuine context, but says nothing about consequences — whether representation ends immediately, what happens to the withdrawing counsel's pending tasks or deadlines, or whether the withdrawal can be undone.

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 short sentences with the core action front-loaded and no padding. The trailing 'Needs your API key' is useful but reads as an afterthought rather than being integrated into the action statement.

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

Completeness2/5

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

This is a non-idempotent mutation with legal-proceeding consequences, no output schema, and no explanation of the resulting state — whether the side becomes unrepresented, whether a new counsel must be requested, or what the caller receives back. For a tool whose entire risk is the side effect, the description is under-specified.

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 description coverage is 100%, including accepted case identifier formats (OC-0001 or case_…) and the idempotencyKey retry behavior, so the schema carries the parameter burden. The description only echoes the reason parameter, adding nothing beyond it. 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 actor: 'Counsel withdraws from representing its side.' That distinguishes it from the nearby withdraw_case, withdraw_evidence and withdraw_settlement_offer siblings, which withdraw different objects. It stops short of naming those siblings explicitly, so differentiation requires the agent to read the names itself.

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 statement of when an agent should withdraw versus declare_self_representation, decline_counsel_request, or request_counsel, nor any prerequisite or exclusion. The only guidance is the required reason, which is already enforced by the schema.

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.