Skip to main content
Glama

Get exact payment

get_payment
Read-onlyIdempotent

Exact payment for one car and the buyer's terms. Same engine as the site. Returns a deal_url with these terms filled in.

Input Schema

NameRequiredDescriptionDefault
zipNoBuyer California ZIP, sets the tax rate. Default 90210.
langNoLanguage of the page behind deal_url. Default en.
modeNoDeal type. Default lease.
car_idYesThe id of a car from find_cars.
first_evNoLease of an electric car by a buyer who has never owned one. Ask the buyer, do not assume.
credit_tierNoBuyer credit tier by score: t1 = Tier 1 · 740+, t2 = Tier 2 · 720-739, t3 = Tier 3 · 680-719, t4 = Tier 4 · 660-679, t5 = Tier 5 · 620-659, t6 = Tier 6 · <620. Default t1. Terms are final only for the stated tier.
term_monthsNoLease: 24, 27, 30, 33, 36, 39, 42, 45, 48. Finance: 24, 36, 48, 60, 72, 84. Default is the best term for this car.
miles_per_yearNoLease miles per year. Default 10000.
due_at_signing_usdNoAmount due at signing in dollars. Default is the amount shown on the site for this car.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds two useful behavioral facts — results match the site's engine and a deal_url is returned with terms pre-filled — but it does not say whether the returned payment is monthly, whether the quote is binding, or how terms not supplied are defaulted.

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 short sentences, front-loaded with the scope and ending with the return value; no filler. It is arguably slightly too terse for a nine-parameter pricing tool, but nothing is wasted.

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

Completeness3/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 carries the burden of explaining returns, and it only names deal_url without saying whether the payment figure itself, an itemized breakdown, or the applied defaults come back. For a nine-parameter calculation tool that is a meaningful gap, though the core contract is still inferable.

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 defaults, enum meanings, ZIP tax effect, credit tier mapping and valid term lists are all already documented in the schema. The description adds no parameter-level meaning beyond the loose phrase 'the buyer's terms', so the baseline 3 is appropriate.

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?

The description names the resource and scope precisely: an exact payment quote for one car using the buyer's terms, computed by the same engine as the site. That is clearer than a tautology, but it never uses a verb like 'calculate' or 'quote', and differentiation from the find_cars sibling comes only indirectly via 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 Guidelines2/5

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

Nothing in the description says when to call this versus find_cars or how_to_buy, nor when it should not be called. The only selection cue is buried in the car_id schema field ('The id of a car from find_cars'), which is structured-data territory rather than description guidance.

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