Skip to main content
Glama

UCP product detail

get_product
Read-onlyIdempotent

UCP Get Product — plný detail jednoho produktu se všemi variantami (rozměry), cenou a dostupností. Vyžaduje meta["ucp-agent"].profile.

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": {
      "meta": "<meta>",
      "catalog": "<catalog>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
metaYes{"ucp-agent":{"profile":"https://…"}}
catalogYesget_product_request: id, volitelně selected[{name,label}]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile needs no restating. The description earns credit for disclosing the context requirement (meta["ucp-agent"].profile) and for naming the returned content — variants, price, availability — which matters since no output schema exists. It still says nothing about failure modes when the profile is missing or how availability/price are scoped across variants.

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?

Two compact sentences, front-loaded with the identity and payload contents, followed by the precondition. No filler — though the requirement sentence is terse enough that its vocabulary (meta["ucp-agent"].profile) is not unpacked for an agent that has never seen UCP context.

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

Completeness3/5

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

With no output schema, the description usefully sketches the response (variants, price, availability), but for a tool with two required nested-object parameters and 100% schema coverage, the interesting semantics — what 'selected' does and how variants are addressed — are left unaddressed. Required context is flagged but not explained, so the definition is adequate rather than complete.

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 description coverage is 100%, so the baseline is 3; the description goes slightly beyond by calling out the mandatory meta["ucp-agent"].profile context, signalling it is a real prerequisite rather than an incidental object. It does, however, add no meaning for the 'selected' array of name/label pairs or the catalog id, leaving the one non-obvious parameter undocumented anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource (get/full detail of a single product) and enumerates what the detail contains — all variants/dimensions, price and availability. That is far more specific than the title alone, though it never contrasts itself with catalog siblings such as lookup_catalog or search_catalog, so an agent must infer whether this is the detail fetch or the search path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'plný detail jednoho produktu' suggests fetching a single known product rather than searching, but there is no explicit when-to-use, when-not-to-use, or named alternative among the search_catalog / lookup_catalog / painto_* siblings. The agent can guess, but nothing in the text routes it.

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