Skip to main content
Glama

cost_estimate

Read-only

What a given set of resources would cost per month, without creating anything. Use this to choose between shapes before you build one. Free and side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault
resourcesYesResources to price, e.g. [{"type":"service","instance":"shared-0.25","always_on":false}].
monthly_egress_gbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so "side-effect-free" largely restates structured data; "Free" is the one genuinely additive fact (no billing impact). The definition does not explain what the response contains (total only, or per-resource breakdown) nor why idempotentHint is false for a read-only pricing call.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core purpose and followed by the decision context and safety note. No filler or restated name/title.

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?

With no output schema, the description should say what a caller gets back, and it only implies a monthly figure without describing the return shape. Combined with the undocumented egress parameter, the definition is adequate for a simple tool but leaves real gaps.

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

Parameters2/5

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

Schema coverage is only 50%: `resources` is documented with an example, but `monthly_egress_gb` appears nowhere in the description, so its pricing effect (and default 0) is left entirely to the schema. The description adds only the "per month" unit and no guidance on how resources are shaped or aggregated.

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 names a specific operation (price a given set of resources per month) and its distinguishing constraint ("without creating anything"), which separates it from the create/deploy siblings. It stops short of naming an actual sibling, so the contrast is implied rather than explicit.

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?

"Use this to choose between shapes before you build one" gives a clear pre-provisioning context for when to call it. There is no explicit when-not guidance or named alternative, but the usage context is unambiguous for a pricing tool.

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