Skip to main content
Glama

OMENZ agent tools

cost_estimate

Cost-to-Complete Estimate: what will this agent job cost BEFORE it starts? Give the steps (model, input/output tokens, runs, retry rate) with your model prices, and paid tool calls (price, or an x402 URL we quote live without paying). Get the total, a realistic range, the biggest cost, budget fit, value multiple, and how much routing named steps to a cheaper model saves. Deterministic arithmetic. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/cost-estimate, $0.002 via x402.)

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": {
      "job": "<job>"
    },
    "name": "cost_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses that the arithmetic is deterministic, that x402 URLs are quoted live 'without paying' (so quoting has no side effects on the payer), and that the MCP path is free while the production HTTP path costs $0.002 via x402. It omits rate limits and any error behavior for unresolvable x402 quotes, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core question is front-loaded and the output list is efficient, but the text is padded with marketing framing ('By OMENZ'), a long parenthetical about the playzone, and a final promotional footer. Several clauses could be tightened without losing any operational information.

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?

The description does cover return values (total, range, biggest cost, budget fit, value multiple, routing savings), which matters since there is no output schema. The gap is on the input side: for a tool whose only parameter is an undocumented nested object, the definition should specify at least the key names and units of the job payload.

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% and the single required parameter is an opaque nested 'job' object, so the description must compensate. It does add real meaning by enumerating what the job should carry — steps with model, input/output tokens, runs, retry rate, plus model prices and paid tool calls with a price or x402 URL. However, it gives no field names, units, or nesting shape, so an agent still cannot construct a valid payload from the description alone.

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 and resource: it estimates cost-to-complete for an agent job before execution begins, and it enumerates the inputs and outputs involved. That is far more precise than a tautology. It does not, however, distinguish itself from plausible siblings such as 'quote' or 'market_price_index', so an agent must infer the boundary on its own.

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?

The phrase 'what will this agent job cost BEFORE it starts?' implies a pre-flight planning context, and the note that MCP calls run in the free AYNE playzone versus a paid production endpoint gives useful deployment context. But there is no explicit when-not-to-use statement and no named alternative for budget or pricing questions that this tool does not cover.

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