Skip to main content
Glama
john-walkoe

USPTO Final Petition Decisions MCP Server

by john-walkoe

FPD_get_document_download

Download USPTO petition documents, decisions, and exhibits as PDFs using secure proxy links. Generate browser-accessible URLs for patent documents from the USPTO Final Petition Decisions database.

Instructions

Generate browser-accessible download URL for petition documents (PDFs) via secure proxy.

ALWAYS-ON PROXY (DEFAULT): Proxy server starts with MCP - download links work immediately.

Workflow:

  1. fpd_get_petition_details(petition_id='uuid', include_documents=True) → get documentBag

  2. fpd_get_document_download(petition_id='uuid', document_identifier='ABC123') → get download link

  3. Provide download link to user

CRITICAL RESPONSE FORMAT - Always format with BOTH clickable link and raw URL: 📁 Download {DocumentType} ({PageCount} pages) | Raw URL: {proxy_url}

Why both formats?

  • Clickable links work in Claude Desktop and most clients

  • Raw URLs enable copy/paste in Msty and other clients where links aren't clickable

Document types:

  • Petition document: Original petition filed with USPTO

  • Decision document: Director's final decision

  • Supporting exhibits: Declarations, prior art, technical documents

Parameters:

  • petition_id: Petition UUID from search results

  • document_identifier: Document identifier from documentBag

  • proxy_port: Optional (defaults to FPD_PROXY_PORT env var or 8081)

  • generate_persistent_link: Generate 7-day persistent link (default: True)

    • True: Attempts persistent link via USPTO PFW MCP (works across MCP restarts)

    • False: Session-based link (works while MCP running, no PFW required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
petition_idYes
document_identifierYes
proxy_portNo
generate_persistent_linkNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and does so effectively. It explains the proxy behavior ('ALWAYS-ON PROXY (DEFAULT): Proxy server starts with MCP'), link persistence options ('True: Attempts persistent link via USPTO PFW MCP', 'False: Session-based link'), and response format requirements ('CRITICAL RESPONSE FORMAT - Always format with BOTH clickable link and raw URL'). The only minor gap is lack of explicit mention about authentication requirements or rate limits.

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?

The description is well-structured with clear sections (purpose, proxy info, workflow, response format, document types, parameters) and front-loads the core purpose. While comprehensive, some sections like the detailed workflow and response format justification could be slightly more concise. Every sentence earns its place by adding value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, no annotations, but with output schema), the description is remarkably complete. It covers purpose, workflow integration, behavioral details (proxy, persistence), parameter semantics, response formatting requirements, and document type context. The presence of an output schema means the description doesn't need to explain return values, and it focuses appropriately on the operational context.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by providing detailed semantic explanations for all parameters. It explains petition_id ('Petition UUID from search results'), document_identifier ('Document identifier from documentBag'), proxy_port ('Optional (defaults to FPD_PROXY_PORT env var or 8081)'), and generate_persistent_link with its two modes and implications. This goes well beyond what the bare schema provides.

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 explicitly states the tool's purpose: 'Generate browser-accessible download URL for petition documents (PDFs) via secure proxy.' This is a specific verb ('Generate') + resource ('download URL for petition documents') that clearly distinguishes it from sibling tools like Get_petition_details (which retrieves details) or FPD_get_document_content_with_mistral_ocr (which extracts content via OCR).

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 provides explicit workflow guidance: '1. fpd_get_petition_details(petition_id='uuid', include_documents=True) → get documentBag 2. fpd_get_document_download(petition_id='uuid', document_identifier='ABC123') → get download link 3. Provide download link to user.' It clearly positions this as step 2 in a sequence and distinguishes it from content extraction tools by focusing on URL generation rather than document analysis.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-walkoe/uspto_fpd_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server