Skip to main content
Glama

Estimate the price

estimate_cost
Read-onlyIdempotent

Tell the price in PopNow credits of a paid tool call without running it: pass the tool name and the exact arguments you would use. Use it to compare options or to quote a multi-step plan before asking the user. Free and nothing is created.

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": {
      "tool": "<tool>"
    },
    "name": "estimate_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesThe paid PopNow tool to price, for example create_video, create_3d, translate_video or make_explainer.
argumentsNoThe exact arguments you would pass to that tool (leave out max_credits).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is structured data. The description adds genuinely new facts beyond that: the call is free (no credits consumed) and 'nothing is created'. It does not discuss failure modes for an unknown or non-paid tool name, which is the remaining gap.

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 action, then usage, then the cost/safety reassurance. No filler and nothing duplicative within the description itself.

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 two-parameter read-only tool with full schema coverage, an agent has what it needs: what to pass, why to call it, and that it is free with no side effects. The only omission is any hint about the shape of the response (e.g., a single credit figure) or behavior on an invalid tool name, which matters slightly since there is no output schema.

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 both parameters are already documented, including the examples of paid tools and the instruction to omit max_credits. The description's 'pass the tool name and the exact arguments you would use' restates the schema rather than adding format or validation detail, 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?

States a specific verb and object — 'Tell the price in PopNow credits of a paid tool call without running it' — which is unmistakably a dry-run pricing operation, not generation. The 'without running it' clause is what separates it from the sibling generation tools such as create_video, create_3d or translate_video, which the schema examples echo.

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?

Gives two concrete situations: comparing options and quoting a multi-step plan before asking the user. The implicit alternative (just call the paid tool and spend credits) is clear from 'without running it', though no explicit when-not or sibling routing is stated.

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.