Skip to main content
Glama

GleanMark Trademark Search

Get a Prosecution Document

get_prosecution_document
Read-onlyIdempotent

Retrieve one specific USPTO prosecution document by the stable document_id returned from list_prosecution_documents, USPTO document id, code, or date. Returns the working USPTO document link, extraction/readability status, cached document text, and optional query-centered excerpts. Use text_query when the user asks what the document says about a particular issue. Call with serial_number alone and it returns the list of documents on file (newest first) so you can pick one — no separate list_prosecution_documents call needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_charsNo
text_queryNoOptional word or phrase; returns up to five excerpts centered on matches.
document_idNoStable GleanMark document UUID; the exact selector. Omit every selector to get the list of documents for this serial and pick one from it.
document_codeNoDocument code such as NFIN, FREF, ROA, or RFR.
document_dateNoExact document date in YYYY-MM-DD.
serial_numberYesEight-digit USPTO serial number.
uspto_document_idNoUSPTO document identifier from list_prosecution_documents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / document_id / description
      Previous value: -"Stable GleanMark document UUID from list_prosecution_documents; preferred exact selector."New value: +"Stable GleanMark document UUID; the exact selector. Omit every selector to get the list of documents for this serial and pick one from it."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds valuable behavioral context on top: the list-returning fallback when no selector is supplied, the returned fields (link, extraction status, cached text, excerpts), and the document-list shortcut. It is transparent without contradicting 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.

Conciseness5/5

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

Three focused sentences with no filler. The core retrieval behavior is front-loaded, followed by the return summary and practical usage tips. Every sentence earns its place.

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?

Given no output schema and seven parameters, the description covers the essential invocation paths, return content, and fallback behavior well. It does not explicitly explain max_chars' effect on returned text, which is the one parameter without a schema description, but the overall guidance is sufficiently complete for correct use.

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 high at 86%, so the baseline is 3. The description adds meaning beyond the schema by explaining that document_id is stable and returned from list_prosecution_documents, that text_query yields query-centered excerpts, and that serial_number alone returns the document list. This meaningfully supplements the parameter documentation.

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?

The description uses a specific verb-resource pair: 'Retrieve one specific USPTO prosecution document', and clearly distinguishes this single-document retrieval tool from list_prosecution_documents. It also names the key selectors, making the tool's identity immediately clear.

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?

The description gives explicit usage guidance: use text_query when the user asks what a document says about an issue, and call with serial_number alone to get the document list without a separate list_prosecution_documents call. This effectively tells the agent when and how to invoke this tool versus its closest sibling.

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