Skip to main content
Glama

Check price

get_pricing
Read-only

get the provider list price for a catalogue endpoint. units vary (second, video, generation, megapixel, image) - per-second video models add up. actual charged amount may include markup.

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": {
      "endpoint_id": "<endpoint_id>"
    },
    "name": "get_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpoint_idYesexact endpoint id (e.g. "fal-ai/gpt-image-2")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered. The description adds real value beyond them: it warns that returned units vary by model type (second, video, generation, megapixel, image), that per-second video models accumulate, and that the figure is a list price that may not equal the charged amount after markup — an important caveat about interpreting the result.

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 short sentences with the main action front-loaded and the unit/markup caveats after. Nothing is wasted, though the phrasing is telegraphic and could be tighter (the parenthetical unit list is a bit scattershot).

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 one-parameter read-only lookup with no output schema, the description covers what an agent most needs: what the number represents, that units differ, and that it is not the final billed amount. The only gap is nothing about error behavior for an unknown endpoint_id.

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 100% with a single required endpoint_id that already includes a concrete example ("fal-ai/gpt-image-2"). The description adds no semantics about that parameter, so baseline 3 is appropriate.

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 first sentence gives a specific verb+resource+source: 'get the provider list price for a catalogue endpoint', which separates it from siblings like get_balance (account balance) or run_endpoint (execution). It never names a sibling or states the distinction explicitly, so it falls short of a 5.

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?

Usage is only implied — the implicit context is checking cost before calling run_endpoint, but the description never says when to call this, when not to, or what to do if the endpoint id is unknown. No exclusions or alternatives are offered.

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