Skip to main content
Glama

Acero y Magia · Catálogo público

get_product

Read-onlyIdempotent

Consulta un producto por el id exacto devuelto por search_products. Verifica antes de recomendarlo. La disponibilidad puede cambiar y exige checkout.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the safety profile needs no restating. The description adds value beyond them by warning that availability is volatile ('La disponibilidad puede cambiar') and that this lookup does not complete a sale ('exige checkout'), which is exactly the kind of caveat an agent needs. It does not describe the returned fields, but no output schema exists to cover them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the lookup action and id source, then the trust caveat, then the checkout caveat. No filler or repetition of structured metadata.

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

Completeness4/5

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

For a single-parameter lookup with no output schema the description covers what matters: where the id comes from, the need to verify, and the freshness/checkout caveat. Only the shape of the returned product data is left unstated, which is a minor gap for this complexity.

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 coverage is 0%, so the description must carry the parameter meaning, and it does: the lone 'id' must be exact and must come from search_products rather than being constructed or guessed. That constrains real agent behavior beyond the bare string type and length limits in 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 and resource ('Consulta un producto') plus the exact lookup key ('el id exacto devuelto por search_products'). It explicitly routes the agent to the sibling that produces the id, so the two tools are distinguishable 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 Guidelines4/5

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

Usage context is clear: call this with the exact id returned by search_products, and verify the data before recommending it. There is no explicit when-not-to-use or exclusion, but with a single sibling the routing is unambiguous.

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