Skip to main content
Glama

Show product results

render_product_results
Read-only

Display selected products as interactive product cards in the chat. Always call search_products, compare_prices, or list_category_products first, then pass those products here (unchanged). Do not invent or modify product data.

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": {
      "products": "<products>"
    },
    "name": "render_product_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoShort heading for the cards, e.g. 'Cheapest Sony WH-1000XM5'
productsYesProducts returned by another PriceInIndia tool, passed through unchanged

Output Schema

NameRequiredDescriptionDefault
countYes
titleYes
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered. The description adds value beyond that by disclosing the rendering effect in the chat ('interactive product cards') and the immutability constraint on the payload. It does not mention the 20-item cap or what happens if validation fails, so it is not fully exhaustive.

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 what the tool produces before the prerequisite and the constraint. No filler or restatement of the title.

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 an output schema present, the return shape needs no explanation, and annotations cover the safety profile. The description supplies the one thing structured fields cannot: that this must follow a retrieval call and must receive unmodified data.

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 the baseline is 3; the nested product fields, currency const, and item limits are all documented in the schema. The description's only addition is the 'pass through unchanged' constraint, which the schema already states for the products array, so it adds little new semantic information.

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 ('Display') plus resource ('selected products') and the output form ('interactive product cards in the chat'), which cleanly separates it from the retrieval siblings. An agent can tell this is a terminal rendering step, not a search step, without opening the 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?

Explicitly names the prerequisite tools (search_products, compare_prices, list_category_products) that must run first, and states the data-integrity rule ('Do not invent or modify product data'). The ordering constraint and the pass-through requirement leave nothing to inference.

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