Skip to main content
Glama

Lantern Works GPU Prices: daily GPU rental price comparison

optimize_stack

Read-only

Cheapest suitable stack among tracked providers for monthly needs (set the quantities you need, rest 0).

scrape_pages: pages/month without JS rendering. scrape_pages_js: pages/month needing JS rendering. proxy_gb: residential proxy GB/month. emails_sent: transactional emails/month. search_queries: search API queries/month. gpu_hours: GPU-hours/month (1 GPU), optionally gpu_model e.g. 'H100', 'A100', 'RTX 4090'. Each line has the chosen plan, monthly_cost_usd, calc, vendor quote, source_url, checked_at and assumptions, plus alternatives. A vendor price that isn't published is 'unknown' (never estimated). manual_signup_only=true means a human must sign up (never automate it); exclude_manual_signup=true drops those plans. Same data as https://thelanternworks.com/api/v1/stack-pricing.json and /tools/stack-optimizer/.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "optimize_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofull
proxy_gbNo
gpu_hoursNo
gpu_modelNo
emails_sentNo
scrape_pagesNo
search_queriesNo
scrape_pages_jsNo
exclude_manual_signupNo

Output Schema

NameRequiredDescriptionDefault
okYes
modeNo
errorNo
linesNo
receiptNo
quote_idNo
issued_atNo
quote_basisNo
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. Changed8 schema fields changed
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed8 schema fields changed
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / referral_disclosure
      Added value: +{
      +  "description": "One-line referral disclosure, present whenever the result names a provider; each provider-naming item then has tracked_url (tagged /go/ redirect).",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / lines / items / properties / gpu_count
      Added value: +{
      +  "minimum": 1,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / receipt
      Added value: +{
      +  "required": [
      +    "receipt_version",
      +    "tool",
      +    "quote_id",
      +    "lines",
      +    "feed_revision",
      +    "receipt_sha256"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  6. Changed4 schema fields changed
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / basis
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability / properties / source
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / basis
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability / properties / source
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  7. Changed7 schema fields changed
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability
      Added value: +{
      +  "properties": {
      +    "checked_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "in_stock": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / availability_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / alternatives / items / properties / in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / availability_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability
      Added value: +{
      +  "properties": {
      +    "checked_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "in_stock": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / availability_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / lines / items / properties / choice / properties / in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  8. Changed6 schema fields changed
    • changedOutput schema / else / required
      Previous value: -[
      -  "ok",
      -  "mode",
      -  "lines",
      -  "total_monthly_usd",
      -  "total_is_complete"
      -]New value: +[
      +  "ok",
      +  "mode",
      +  "lines",
      +  "total_monthly_usd",
      +  "total_is_complete",
      +  "quote_id",
      +  "issued_at"
      +]
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "invalid_argument",
      -  "invalid_cursor",
      -  "not_found",
      -  "feed_unavailable",
      -  "feed_invalid",
      -  "upstream_unavailable",
      -  "internal_error"
      -]New value: +[
      +  "invalid_argument",
      +  "invalid_cursor",
      +  "cursor_expired",
      +  "not_found",
      +  "feed_unavailable",
      +  "feed_invalid",
      +  "upstream_unavailable",
      +  "internal_error"
      +]
    • addedOutput schema / properties / issued_at
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedOutput schema / properties / lines / items / properties
      Added value: +{
      +  "alternatives": {
      +    "items": {
      +      "properties": {
      +        "rate_id": {
      +          "pattern": "^r_[0-9a-f]{12}$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "rate_id"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  "choice": {
      +    "properties": {
      +      "rate_id": {
      +        "pattern": "^r_[0-9a-f]{12}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "rate_id"
      +    ],
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / quote_basis
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / quote_id
      Added value: +{
      +  "pattern": "^q_[0-9a-f]{20}$",
      +  "type": "string"
      +}
  9. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint, and the description adds genuinely non-obvious behavior: unpublished vendor prices are 'unknown' and never estimated, manual_signup_only=true means a human must sign up and must never be automated. That prevents an agent from fabricating quotes or attempting automated signups. It stops short of describing pricing freshness or caching behavior beyond the checked_at field.

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 core purpose in the first sentence, then moves to a compact parameter glossary and output notes. Dense but nearly every line earns its place; the trailing URL/reference sentence is the least essential part.

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?

Covers units, output fields, the unknown-price rule, and the manual-signup constraint for a 9-parameter read-only tool with an output schema. Only undefined 'mode' and the lack of sibling differentiation keep it from being fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden and does so for eight of nine parameters, defining units and semantics (pages/month without vs. with JS rendering, GB of residential proxy, GPU-hours for one GPU, example gpu_model values, the exclude_manual_signup effect). The 'mode' parameter is left completely undefined, which is the main gap.

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: find the cheapest suitable stack among tracked providers for given monthly usage. It does not name or differentiate itself from the closest sibling, optimize_agent_stack, so an agent must infer the distinction.

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?

Gives concrete usage guidance for the input side ('set the quantities you need, rest 0') and for the exclusion flag, but never says when to prefer this tool over compare_deals, estimate_job_cost, or optimize_agent_stack. Usage context is implied rather than routed.

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.