Skip to main content
Glama

CaseMagic — Federal Court Case Lookup & Monitor

Draft a CaseMail message for approval

draft_case_mail

Draft a CaseMail message from a saved case's address and return a link the user opens to review it and decide whether to send it. Use when the user asks you to reply to case correspondence or to write to someone about the case. Nothing is sent by this tool: the message only leaves CaseMagic after the user opens the review link and confirms it, and the link expires. Tell the user that they still have to confirm.

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": {
      "to": "<to>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "draft_case_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoOptional copied addresses.
toYesRecipient email addresses.
bodyYesThe message body, as plain text.
subjectYesThe subject line.
matter_idNoThe CaseMagic matter id, as returned by create_case_passport or shown in an earlier result. Omit it when the account follows exactly one case and that is the one meant.

Output Schema

NameRequiredDescriptionDefault
sentNoAlways false: the message is drafted for the user to approve, never sent by this tool.
errorNoPresent only when the call failed: a code, a message and, where there is one, an action such as a link to give the user.
matter_idNoThe case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, so the description carries the real burden - and it does: nothing is sent, the message only leaves CaseMagic after the user opens the link and confirms, and the link expires. It also instructs that the user must be told about the confirmation step, which is meaningful behavioral context beyond the annotations.

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 sentences, front-loaded with the action and followed by the constraint and the user-facing instruction. There is mild repetition between 'Nothing is sent by this tool' and 'the message only leaves CaseMagic after...', but each serves the separate purposes of ruling out sending and explaining the expiry/confirm mechanism.

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?

An output schema exists, so the return value does not need extensive explanation, and the description still notes that a link is returned. With annotations, a full-coverage schema, and clear disclosure of the draft-only, expiring-link, user-confirmation model, an agent has everything needed to invoke and describe this tool correctly.

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%, so all five parameters including matter_id's single-case omission rule are already documented in the schema. The description adds only the framing that the draft comes 'from a saved case's address', which is context rather than parameter-level meaning, so the 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?

The description states a specific verb (draft) and resource (CaseMail message), plus the concrete output: a review link the user opens. It implicitly separates itself from sending and reading tools by saying 'Nothing is sent by this tool', though it never names a sibling such as get_case_mail or email_queued_case_result directly.

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?

It gives explicit trigger conditions: use when the user asks to reply to case correspondence or write to someone about the case. What is missing is the negative space - no statement of when not to use it, and no explicit routing to an alternative for actually sending or for reading existing mail.

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