Skip to main content
Glama

Prepare legal material

prepare_legal_material
DestructiveIdempotent

Prepare a legal draft using the dedicated legal backend. Minimum 25 credits, maximum 50 for this text-only tool. The backend recalculates the reservation; no filing or legal representation occurs. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "task": "<task>",
      "jurisdiction": "<jurisdiction>",
      "region": "<region>",
      "role": "<role>",
      "forum": "<forum>",
      "facts": "<facts>"
    },
    "name": "prepare_legal_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
taskYes
factsYes
forumYes
localeNo
regionYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.
jurisdictionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Strong added value over the annotations: credit range, backend-side reservation recalculation, an approval gate before any work begins, the returned awaiting_confirmation/approval_url shape, and idempotent retry semantics. However, it never explains why destructiveHint=true is set — what irreversible side effect exists for a drafting tool — which is exactly the trait an agent most needs beyond the annotation. Cost and approval are well covered; destruction risk is not.

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?

Six tight sentences, front-loaded with purpose then cost then approval flow, with no filler. The repeated retry/request_id instruction at the start and end reinforces the single most error-prone behavior rather than being redundant.

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?

With no output schema, the description correctly spends words on the return contract (awaiting_confirmation, approval_url) and the human-approval loop, so an agent knows the first call will not produce a draft. What is missing is meaningful guidance for the seven undocumented legal parameters, which is a real gap for a high-stakes drafting tool.

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 description coverage is only 13% and the description only clarifies request_id (reuse on retries). The other seven required parameters — task, jurisdiction, region, role, forum, facts, locale — get no explanation of expected content or granularity (e.g., what 'forum' means, how jurisdiction strings are formatted). With coverage this low the description was the place to compensate and it does not.

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 artifact ('Prepare a legal draft') plus the execution path ('dedicated legal backend') and scope limit ('text-only tool'). It also rules out adjacent expectations ('no filing or legal representation occurs'), so an agent will not mistake it for an actual filing service. It does not name a sibling to contrast with, but the legal-drafting domain is far enough from the task/agent/generation siblings 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?

Gives a clear operating procedure: call, read awaiting_confirmation and approval_url, have the owner approve the exact parameters, then retry with the same request_id. It also sets a cost precondition (25–50 credits) that the agent should surface before calling. It stops short of explicit when-not-to-use guidance or naming an alternative tool for simpler lookups.

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.