Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_patent_filings

Read-onlyIdempotent

Read-only query of Japan Patent Office (JPO API v1) corporate patent filings and SaaS logs. Pass corporateNumber or keyword (default feedType="all", limit=50, offset=0); returns filings ordered by date. Note: For papers, use query_scientific_literature instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_patent_filings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows returned.
offsetNoPagination offset.
keywordNoSearch keyword.
feedTypeNoSource feed filter.all
corporateNumberNo13-digit JP JCN.

Output Schema

NameRequiredDescriptionDefault
itemsNoJPO patent items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • changedInput schema / properties / corporateNumber / description
      Previous value: -"13-digit Japanese Corporate Number filter (e.g. \"6010001269339\")."New value: +"13-digit JP JCN."
    • changedInput schema / properties / feedType / description
      Previous value: -"Feed filter: \"jpo_patents\" (JPO API v1 filings), \"saas_b2a_pricing_delta\" (SaaS pricing/ToS/B2A diffs), \"enterprise_b2a_watch\", or \"all\"."New value: +"Source feed filter."
    • changedInput schema / properties / keyword / description
      Previous value: -"Patent title, applicant, SaaS company, or domain keyword filter."New value: +"Search keyword."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum patent/SaaS delta records to return (1 to 200)."New value: +"Max rows returned."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically."New value: +"Pagination offset."
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Japan Patent Office (JPO API v1) corporate patent filings, examination status, and SaaS B2A release delta records ordered by filing date descending."New value: +"JPO patent items."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds value beyond them by identifying the upstream source (JPO API v1) and stating that results are returned ordered by date; it omits auth/rate-limit details but those are rarely decisive here.

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 compact sentences, front-loaded with scope and followed by invocation guidance and the sibling redirect. Minor redundancy in repeating defaults that already appear in the schema.

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?

With a full output schema and rich annotations, the description only needs to convey scope, selectors, source, and the sibling boundary, and it does all four. Remaining ambiguities (both-or-neither selector behavior) are marginal for a non-destructive read 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 five parameters are already documented with types, ranges, and enum values. The description only restates the defaults (feedType="all", limit=50, offset=0) and the two primary selectors, adding little semantic meaning beyond the schema.

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: a read-only query of JPO (API v1) corporate patent filings and SaaS logs. It also pre-empts confusion by naming query_scientific_literature as the tool for papers, so an agent can distinguish it from the closest sibling without opening a schema.

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?

Gives positive guidance ('Pass corporateNumber or keyword') and an explicit exclusion ('For papers, use query_scientific_literature instead'). The only weakness is that it implies one selector is required while the schema shows zero required parameters, leaving the both/neither case unspecified.

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.