Skip to main content
Glama

Price a basket and get a checkout link

quote_placements
Read-onlyIdempotent

Prices a set of outlets and returns line items, any volume discount, the final total, and a checkout_url. The total matches what the buyer is charged, volume tiers included. It charges nothing and creates no order. checkout_url is the page where the buyer confirms the basket and pays; the card is charged at checkout and refunded if the placement is not published or the turnaround is missed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesOutlets to price, max 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds real behavioral context beyond them: the total matches what the buyer is charged including volume tiers, no charge or order is created, the card is charged only at checkout, and it is refunded if the placement is unpublished or the turnaround is missed.

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-loads the return values and pricing guarantee, then follows with the non-charging and refund behavior. Every sentence carries information, though the final sentence on checkout/refund is slightly packed and could be tightened.

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 no output schema, the description adequately covers return values (line items, discount, total, checkout_url) and the charging/refund lifecycle. Combined with annotations that cover the safety profile, nothing an agent needs to invoke this correctly is missing.

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% for the single 'items' parameter (with nested id/quantity documented and the max-30 limit stated), so the schema carries parameter semantics. The description refers to 'a set of outlets' but adds no syntax or semantics beyond what the schema already provides, making the baseline 3 appropriate.

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 ('Prices a set of outlets') and enumerates what it returns: line items, volume discount, final total, and a checkout_url. This clearly distinguishes it from the read-oriented siblings get_outlet and search_outlets, so an agent can pick it without opening a schema.

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?

The description implies the use case (price a basket before purchase) and clarifies that it 'charges nothing and creates no order,' which steers the agent toward it for pre-checkout pricing. However it never names an alternative tool or states explicit when-not conditions, leaving usage 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.