Skip to main content
Glama

GleanMark USPTO Trademark Search

Revise an Office Action draft

refine_oa_draft

Revise a finished Office Action response draft from the attorney's guidance (for example "lead with the crowded-field evidence" or "drop the amendment and argue instead"). About 1 to 2 minutes; an included revision, not a new draft, up to 5 per draft. Needs the draft_id of the finished draft. Post-registration drafts are not revised here.

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": {
      "parent_draft_id": "<parent_draft_id>",
      "guidance": "<guidance>"
    },
    "name": "refine_oa_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
guidanceYesWhat to change, in the attorney's words.
parent_draft_idYesThe draft_id of the finished draft to revise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the safety profile (non-read-only, non-destructive, non-idempotent, closed-world); the description adds genuinely useful behavior: a ~1-2 minute latency expectation and a hard quota of up to 5 revisions per draft. What it does not disclose is whether the revision mutates the parent draft in place or produces a derived version, which matters for a non-idempotent write.

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 front-loaded sentences with no filler; the operation, the inputs, and the limits each appear once. The middle clause ('an included revision, not a new draft, up to 5 per draft') is compressed to the point of being slightly awkward to parse, which is the only structural blemish.

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 non-idempotent mutation with no output schema, the definition says nothing about what comes back (a new draft_id, revised text, a diff) or how to retrieve the result. Latency and quota are covered, so an agent can decide to call it, but cannot anticipate the response shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description goes beyond it: it clarifies that parent_draft_id must reference a *finished* draft and characterizes guidance as 'in the attorney's words', supplemented by two concrete example instructions. Only the 4000-character ceiling is left to the schema.

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 opens with a specific verb plus resource ('Revise a finished Office Action response draft') and scopes it to an existing draft driven by attorney guidance. The phrase 'an included revision, not a new draft' implicitly separates it from the draft-creation sibling (draft_oa_response) without naming it, and the examples of guidance content make the operation concrete.

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 states the precondition (the draft must be finished, draft_id required) and gives an explicit exclusion ('Post-registration drafts are not revised here'), plus illustrative triggers such as 'lead with the crowded-field evidence'. It stops short of naming the alternative tool an agent should pick when the draft is not yet finished or when a fresh draft is needed.

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