Skip to main content
Glama

Get full details for one deal

get_deal_details
Read-only

Use when the user asks for more detail about ONE specific deal already returned by another tool: setup costs, price-rise terms, what happens after the intro period and availability at their address. Pass the deal_id from the earlier result, plus the user's postcode, uprn and address_label when known so availability is confirmed at their address. total_contract_cost here is the whole-contract figure over contract_months.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uprnNoProperty identifier from search_addresses. Pass it whenever the user has picked an address so results become address-precise instead of postcode-wide. Never show this number to the user.
deal_idYesThe deal_id from a previous find_broadband_deals or check_if_overpaying result.
postcodeNoPass the user's postcode when known so availability is checked at their address.
address_labelNoThe display_address the user picked from search_addresses, passed back verbatim. Carried into the switch link so the FindBroadband site greets the user with their address instead of asking again.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
giftNoProvider incentive shown on the deal card: a gift card / reward, or a switching credit. NOT included in any cost figure. A switching credit (e.g. 'up to £300') only offsets early-termination fees the user owes their CURRENT provider — worth £0 to someone out of contract, so explain it as conditional, never as a discount. Gift cards are real value but not bill money.
deal_idYes
providerYes
setup_feeYes
checked_atYes
switch_timeNo
upload_mbpsYes
availabilityYes
continue_urlYes
intro_monthsNo
package_nameYes
download_mbpsYes
monthly_priceYes
connection_typeNo
contract_monthsYes
price_rise_termsNo
mid_contract_riseYes
price_after_introNo
switching_downtimeNo
total_contract_costYes
effective_monthly_costYes
estimated_speed_at_address_mbpsNo

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 safety (readOnlyHint, destructiveHint=false), so the bar is lower. The description adds useful behavioral context: results become 'address-precise instead of postcode-wide' when uprn is passed, and clarifies that total_contract_cost is the whole-contract figure over contract_months – a semantic clarification not in the schema. It doesn't discuss rate limits or error behavior, keeping it from a 5.

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?

Three sentences, front-loaded with the when-to-use trigger before the parameter guidance. It is dense but each clause carries information; the only slight redundancy is restating address_label's purpose already in the schema.

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?

Given read-only annotations and an existing output schema (so return shape needn't be explained), the description covers selection (which deal), upstream dependency (deal_id from other tools), parameter intent, and a key field semantic (total_contract_cost). Nothing material for correct invocation 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%, so the schema already documents all four parameters thoroughly (including the 'never show this number' note on uprn). The description reinforces intended usage (pass deal_id from earlier result; postcode/uprn/address_label when known; total_contract_cost semantics) but adds little beyond the schema. Baseline 3 applies.

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?

The description states a specific verb+resource ('full details for one deal') and explicitly scopes it as 'ONE specific deal already returned by another tool', distinguishing it from siblings find_broadband_deals and check_if_overpaying. It also names the concrete detail fields returned (setup costs, price-rise terms, post-intro behavior, availability).

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?

It gives an explicit trigger ('Use when the user asks for more detail about ONE specific deal already returned by another tool') and names the upstream tools that supply the deal_id. The distinction from breadth tools is clear via 'already returned by another tool'.

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