Skip to main content
Glama

Get Office Action Rejections

get_office_action_rejections
Read-onlyIdempotent

Claim-level rejection data for every office action on one application. Returns AGGREGATE counts first (how many rejection records cite 35 U.S.C. 101/102/103/112, and double-patenting) and per-claim/per-record detail last. Use this before get_office_action_citations when the question is "what did the examiner reject this on", not "what references were cited".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "application_number": "12190351"
    },
    "name": "get_office_action_rejections"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax per-record rows to return in `records` (default 25, max 100). The `aggregate` block always covers every record USPTO returned for this application, not just `limit` of them.
_apiKeyNoUSPTO ODP API key. Get free at https://data.uspto.gov/myodp.
include_rawNoDebug escape hatch: skip normal parsing and return the bare upstream HTTP status + first 500 chars of body instead (fleet #3305, diagnosing a request shape live, no redeploy needed).
application_numberYesUS patent application number, digits only or formatted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include_raw / description
      Previous value: -"Debug escape hatch: skip normal parsing and return the bare upstream HTTP status + first 500 chars of body instead (fleet #3305 — diagnosing a request shape live, no redeploy needed)."New value: +"Debug escape hatch: skip normal parsing and return the bare upstream HTTP status + first 500 chars of body instead (fleet #3305, diagnosing a request shape live, no redeploy needed)."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description adds real value: it discloses the response ordering (aggregate first, per-record detail last) and the important caveat that the aggregate block covers every record regardless of `limit`. It stops short of failure modes or upstream API/auth behavior, which is why it is not a 5.

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?

Three sentences, zero waste: purpose first, return shape second, disambiguation last. The routing instruction is front-loaded exactly where an agent needs it.

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 carries the burden of describing returns and does so for the aggregate/records split, but it does not say what fields an individual rejection record contains. Combined with fully documented parameters, this is nearly complete for a read-only single-application tool.

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 coverage is 100%, so all four parameters including `limit`, `include_raw`, and `_apiKey` are already documented in the schema, and the aggregate-vs-limit nuance is also stated there. The description reinforces that relationship but adds no syntax or format detail beyond structured fields, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: 'Claim-level rejection data for every office action on one application.' It also implicitly separates itself from citation-lookup by naming the sibling get_office_action_citations, so an agent can choose without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use rule ('Use this before get_office_action_citations when the question is "what did the examiner reject this on"') and an explicit when-not ('not "what references were cited"'). The alternative tool and the condition selecting it are both named.

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.