get_prosecution_document
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...
This record as markdown: /tools/com-gleanmark-trademark-search/get-prosecution-document.md
What get_prosecution_document does on GleanMark Trademark Search
AI agents call get_prosecution_document to retrieve information from GleanMark Trademark Search without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
max_chars | integer | — | |
text_query | string | — | Optional word or phrase; returns up to five excerpts centered on matches. |
document_id | string | — | Stable GleanMark document UUID from list_prosecution_documents; preferred exact selector. |
document_code | string | — | Document code such as NFIN, FREF, ROA, or RFR. |
document_date | string | — | Exact document date in YYYY-MM-DD. |
serial_number | string | Yes | Eight-digit USPTO serial number. |
uspto_document_id | string | — | USPTO document identifier from list_prosecution_documents. |
Parameters from the server's own tool schema.
Why get_prosecution_document is rated Low
This tool retrieves and returns existing USPTO prosecution documents without creating, modifying, deleting, or executing any operations. It is a pure read operation that queries a database of public trademark prosecution records.
From the tool's definition Tool name and description indicate 'Retrieve' and 'Returns' - passive data retrieval operations. Specifically: 'Retrieve one specific USPTO prosecution document', 'Returns the working USPTO document link, extraction/readability status, cached document text'.
Attacks that exploit this kind of access
The rule that runs get_prosecution_document safely
PolicyLayer is an MCP gateway: it sits between your AI agents and GleanMark Trademark Search, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_prosecution_document, this is the rule to start with:
get_prosecution_document is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect GleanMark Trademark Search, apply this rule, and every get_prosecution_document call is checked against it from then on.
Questions about get_prosecution_document
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. It is categorised as a Read tool in the GleanMark Trademark Search MCP Server, which means it retrieves data without modifying state.
get_prosecution_document accepts 7 parameters: max_chars, text_query, document_id, document_code, document_date, serial_number, uspto_document_id. Required: serial_number. The full parameter table on this page comes from the server's own tool schema.
Register the GleanMark Trademark Search MCP server in PolicyLayer and add a rule for get_prosecution_document: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GleanMark Trademark Search. Nothing to install.
get_prosecution_document is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_prosecution_document rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_prosecution_document. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_prosecution_document is provided by the GleanMark Trademark Search MCP server (https://gleanmark.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on GleanMark Trademark Search, and thousands of servers like it.
This server
Across the catalogue