Skip to main content
Glama

FLOP inference cost per model

flop_inference_prices
Read-onlyIdempotent

Estimate what one request costs on each live FLOP model, from the gateway's zero-spend estimator. Returns models[] (model, price_per_token, capacity_tpm, blocked, estimate: cost_flop, input_tokens, output_tokens, gflops, latency_blocks, stale). This is the miner's cost, paid from the caller's wallet, and separate from Scout's fee (scout_pricing). Needs no key and spends nothing; can take tens of seconds when the gateway is slow.

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": "flop_inference_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_tokensNoOutput length each estimate assumes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / max_tokens / default
      Added value: +250
    • addedInput schema / properties / max_tokens / description
      Added value: +"Output length each estimate assumes."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent, yet the description adds substantial behavior: the gateway's zero-spend estimator, no key required, charges come from the caller's wallet, and calls can take tens of seconds when the gateway is slow. It also surfaces the 'blocked' and 'stale' flags in the response, warning the agent that some model entries may be unusable.

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 front-loaded sentences: purpose first, return shape second, cost/latency caveats third. The field enumeration is long but earns its place because there is no output schema; the only minor cost is density.

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?

With no output schema, the description compensates by enumerating the returned fields and their meaning. Combined with the latency warning and wallet-charging note, an agent has everything needed to decide to call it and to interpret the result.

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 coverage is 100%, so max_tokens is fully documented in the schema with default, bounds, and meaning. The description adds no further detail on this parameter beyond mentioning input_tokens/output_tokens as returned fields, so the baseline of 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 first sentence gives a specific verb and resource: 'Estimate what one request costs on each live FLOP model.' It also explicitly separates this from the sibling scout_pricing ('separate from Scout's fee'), so an agent can distinguish the two cost tools without opening either schema.

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?

It gives a clear use context: per-model miner cost estimation versus Scout's fee, needs no key, spends nothing. It does not state an explicit when-not condition or name another alternative beyond scout_pricing, but the cost-vs-fee framing is enough to route most calls correctly.

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.