Skip to main content
Glama

Lantern Works GPU Prices

rebuild_quote

Read-only

Reopen a past quote. Pass the receipt object returned by optimize_stack, optimize_agent_stack or estimate_job_cost. Returns receipt_intact (unkeyed sha256 matches), reproduced (true only if each line's subtotal recomputes AND its rate_id and price match the pinned feed revision or that date's published daily snapshot; "arithmetic_only" with provenance_verified=false when that can't be confirmed), per-line provenance, and revalidation against today's feed: per GPU line unchanged | price_changed | evidence_changed | held_today | not_in_feed_today (flat plans: not_revalidated), with revision 'same' or 'new'. Nothing is re-ranked.

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": {
      "receipt": "<receipt>"
    },
    "name": "rebuild_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofull
receiptYes

Output Schema

NameRequiredDescriptionDefault
okYes
modeNo
errorNo
linesNo
referral_disclosureNoOne-line referral disclosure, present whenever the result names a provider; each provider-naming item then has tracked_url (tagged /go/ redirect).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the substantive behavioral traits: sha256-based integrity checking, the exact conditions under which `reproduced` is true (subtotal arithmetic plus rate_id/price match against the pinned feed revision or daily snapshot), and a degraded 'arithmetic_only' path with provenance_verified=false. It also declares determinism boundaries ('Nothing is re-ranked') and that today's-feed revalidation can yield price_changed, held_today, or not_in_feed_today.

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-loaded with the action and the required input before any detail, and there is no filler sentence. However, the long run-on clause with nested parentheticals and a slash-pipe enumeration of statuses is hard to scan and partly restates what the existing output schema already defines.

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?

An output schema exists, so the return-value enumeration is bonus rather than a necessity, and the description still adds interpretive nuance about the 'same'/'new' revision and flat-plan not_revalidated handling. The notable gap is complete silence on the `mode` parameter, which for a two-parameter tool is a real completeness hole.

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 0%, so the description must carry the load. It explains the required `receipt` parameter well (its origin and purpose), but the `mode` parameter is never mentioned at all — no legal values, no effect of the 'full' default — leaving one of two parameters completely opaque to an agent.

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 ('Reopen a past quote') and immediately ties the input to the exact sibling tools that produce it (optimize_stack, optimize_agent_stack, estimate_job_cost). It then clarifies that the operation is a reproduction plus revalidation against today's feed, not a re-ranking, so an agent can tell what this tool does that its siblings do not.

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 precondition for use: pass the `receipt` object returned by one of three named sibling tools, which implicitly routes agents without a receipt to those tools instead. It stops short of explicit exclusions or a 'do not use when' statement, so it is clear context rather than a full when/when-not rule set.

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