Skip to main content
Glama

GleanMark USPTO Trademark Search

Get a client letter

get_client_letter
Read-onlyIdempotent

The client letter draft_client_letter started, once it is ready: the letter text, the second reader's points for the attorney, and the link to edit or share it in Client Letters. One read per call: if it is still being written, say so and stop.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_client_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id draft_client_letter returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is covered. The description adds genuinely useful asynchronous-job semantics: one non-blocking read per call and a defined response when the job is still running. It says nothing about job_id lifetime, failure states, or whether retries later are expected, which leaves the polling contract partially open.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler and the payload contents listed up front, which is good structure. However, the leading clause is awkwardly ordered and ambiguous on first read, forcing the agent to mentally re-parse what is being fetched before it reaches the useful content.

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 its words enumerating what comes back: letter text, second-reader points, and the edit/share link. For a one-parameter read tool with rich annotations, that covers what an agent needs to call and interpret it, with only error/expiry behavior left unstated.

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?

There is a single parameter with 100% schema description coverage ('The job_id draft_client_letter returned'), so the schema already carries the meaning. The description only reinforces the provenance of job_id rather than adding format or validity detail. Baseline 3 is appropriate when the schema does the work.

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 and resource: retrieve the client letter that draft_client_letter started, returning letter text, second-reader points, and an edit/share link. It ties itself to the named sibling draft_client_letter, which clarifies its position in the workflow. The opening clause ('The client letter draft_client_letter started, once it is ready') is grammatically strained and needs a re-read, costing it a 5.

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 implicitly defines the trigger (after draft_client_letter has run) and gives explicit handling for the not-ready case: 'if it is still being written, say so and stop,' which prevents polling loops. It doesn't name any alternative tool or state what to do if the job_id is invalid or expired, so it falls short of explicit when/when-not routing.

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