Skip to main content
Glama

Lantern Works GPU Prices

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. 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 and openWorldHint, yet the description still adds real substance: the per-line return fields (chosen plan, monthly_cost_usd, calc, vendor quote, source_url, checked_at, assumptions, alternatives), the 'unknown, never estimated' pricing policy, and the manual_signup_only safety rule with an explicit 'never automate it'. It does not cover latency, caching, or behavior on partial/unsatisfiable inputs, so it is strong but not exhaustive.

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?

Purpose is front-loaded in the first clause, then units are listed compactly, then output shape and policies. Nearly every sentence carries information an agent needs. The trailing pointer to the JSON endpoint and web tool page is marginal padding, and the mid-word line breaks make it denser than necessary.

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?

For a 9-parameter read-only pricing tool with an output schema, the description covers inputs, units, output structure, and key policies (unknown pricing, manual signup). The output schema means return values need not be spelled out, yet they are, which adds value. The unmentioned 'mode' parameter is the only material completeness gap.

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 description coverage is 0%, so the description carries the full burden and mostly succeeds: it defines units and meaning for scrape_pages, scrape_pages_js, proxy_gb, emails_sent, search_queries, gpu_hours, gpu_model (with example values), and exclude_manual_signup. The 'mode' parameter (default 'full') is never mentioned, leaving one of nine parameters entirely undocumented.

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 states a specific verb+resource: it returns the cheapest suitable stack of tracked provider plans for a given monthly usage profile. It is clearly a pricing/optimization tool, distinct from siblings like find_available_gpus or get_price_trend. It stops short of naming the closest sibling (optimize_agent_stack) or stating how the two differ, so it is clear but not fully differentiated.

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?

It gives concrete input guidance ('set the quantities you need, rest 0') and two behavioral rules for exclude_manual_signup, which is useful when-to-use context. What is missing is any statement of when this tool is preferable to optimize_agent_stack or compare_deals, or when it is not appropriate at all. Usage is implied by the parameter list rather than routed explicitly.

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