Skip to main content
Glama

ToolLoop

recommend_for_answer

Given the slug of an answer page (e.g. 'tap-drill-size-chart'), return the one product we recommend for that exact question, with its landed price. Use this after quoting an answer page so the recommendation always matches the page.

Input Schema

NameRequiredDescriptionDefault
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the return shape (exactly one product plus landed price), which usefully signals a read-style lookup with no mutation. It says nothing about what happens when the slug is unknown, whether the card is cached, or any auth/latency characteristics.

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?

Two tight sentences. The capability statement comes first and the workflow trigger second, with no redundant restatement of the name.

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 one-parameter, no-output-schema lookup this is nearly sufficient: it describes the return value in lieu of an output schema and explains the slug. The remaining gap is miss/failure behavior, which an agent would need before calling.

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 0% and the single 'slug' property is bare, but the description compensates by clarifying that the slug identifies an answer page and giving a concrete format example ('tap-drill-size-chart'). That prevents confusion with a product slug, though other validation details are absent.

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 specific verb and resource: return the single recommended product (with landed price) for a given answer-page slug. It even disambiguates the resource as an 'answer page' rather than a product. It stops short of naming a sibling like get_product as the contrast case, so an agent must infer the boundary.

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 a clear trigger condition: 'Use this after quoting an answer page', which ties it to the quote_order workflow. It offers no explicit when-not conditions or named alternatives for the case where no quote was made.

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