Skip to main content
Glama

Get the current version of a product document

get_current_document
Read-onlyIdempotent

Use this when the product is known and someone wants the current PDF of one document kind: "the latest safety data sheet", "the declaration of performance", "the technical data sheet in English". Returns the current published version of one document of a product: title, kind, language, version, revision date, publication date, product page, PDF URL on ProofPass and SHA-256, plus the other languages it exists in. Never an archived version. Kinds: sdb, tdb, dop, dopc, doc, ppwr, manual, epd, cert, other, sdsus, p65, cpc, gcc (also "SDS", "TDS", "DoP", "DoC"). / Liefert die aktuelle Fassung eines Dokuments (SDB, TDB, Leistungserklärung …) mit PDF-Link. Do not use to see older versions (account: get_my_product) or to check a PDF someone already has (use verify_document).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "product": "<product>",
      "type": "<type>"
    },
    "name": "get_current_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesDocument kind: sdb, tdb, dop, dopc, doc, ppwr, manual, epd, cert, other, sdsus, p65, cpc, gcc; "SDS"/"SDB" for the EU safety data sheet, "sdsus" for the US one (OSHA HazCom)
productYesProduct id from search_products, QR short code, GTIN, "manufacturer-slug/product-slug" or the product page URL
languageNoLanguage of the answer: "de" (German, default), "en" (English) or "pl" (Polish). Product and account answers are written in German and English; content without a translation comes in German.
document_languageNoISO 639-1 language of the document, any official EU language, e.g. "de", "en", "pl", "pt", "el". Default: the language of the answer, else the manufacturer’s

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / description
      Previous value: -"Document kind: sdb, tdb, dop, dopc, doc, ppwr, manual, epd, cert, other; \"SDS\"/\"SDB\" for the safety data sheet"New value: +"Document kind: sdb, tdb, dop, dopc, doc, ppwr, manual, epd, cert, other, sdsus, p65, cpc, gcc; \"SDS\"/\"SDB\" for the EU safety data sheet, \"sdsus\" for the US one (OSHA HazCom)"
  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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description need not restate safety. It still adds real value beyond them by disclosing the returned fields and the hard constraint "Never an archived version." The remaining gap is failure behavior — it does not say what happens when no document of that kind exists or the product is ambiguous.

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?

Front-loaded with the trigger scenario and the return payload, and the exclusions come last where they belong. It is slightly over-stuffed: the full kind enumeration duplicates the schema, and a German one-line summary is included alongside the English, which adds bulk without new information for an English-reading agent.

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?

For a single-document read with no output schema, the description carries the return shape itself (fields, PDF URL, hash, other languages) and the crucial archive exclusion, so an agent knows both what it gets and what it will never get. Complexity is low and the description covers it fully; only the empty-result case is unaddressed.

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 description coverage is 100%, so the schema already documents product, language, document_language and type. The description's kind list (sdb, tdb, dop... plus "SDS"/"TDS"/"DoP" aliases and the sdsus/US distinction) largely restates the type parameter's schema text rather than adding new meaning, and it says nothing extra about the product or language parameters. 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 and resource: returns the current published version of one document of a product, with the exact return payload enumerated (title, kind, language, version, revision date, PDF URL, SHA-256, other languages). It also names what it is not (not archived versions, not PDF verification), so an agent can distinguish it from get_my_product and verify_document 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?

Explicit positive trigger ("when the product is known and someone wants the current PDF of one document kind") with concrete example phrasings, plus explicit exclusions routing to named alternatives: older versions to get_my_product, verifying a PDF the user already has to verify_document. This is the when/when-not/alternative pattern at full strength.

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