Skip to main content
Glama
AICostBudget AI API Pricing

AICostBudget AI API Pricing

Get price impact

get_price_impact
Read-onlyIdempotent

Calculate how each recorded model price change affects your monthly workload cost: see before/after monthly totals, the difference, and whether the change is active or announced.

Instructions

Show what each recorded price change of one model does to a monthly workload: the monthly cost before and after, the difference, and whether the change is in effect or only announced.

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": {
      "model": "<model>",
      "input_tokens_per_request": "<input_tokens_per_request>",
      "output_tokens_per_request": "<output_tokens_per_request>",
      "requests_per_month": "<requests_per_month>"
    },
    "name": "get_price_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
sinceNo
include_scheduledNo
cached_input_ratioNo
requests_per_monthYes
input_tokens_per_requestYes
output_tokens_per_requestYes

Output Schema

NameRequiredDescriptionDefault
dataYes
sourceYes
verified_atYes
aicostbudget_urlYes
bundled_fallbackYes
official_source_urlsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.3

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety bar is low; the description adds real value by describing the response shape (before/after, delta, effective vs announced), which is the key behavioral distinction. It does not cover rate limits or auth, but openWorldHint is already supplied.

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?

A single front-loaded sentence with a colon-delimited list of outputs; nothing is redundant. It packs a lot into one sentence without becoming unreadable, though it could be split for scannability.

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?

Because an output schema exists, the description needn't detail return values and the annotations cover the safety profile. The unresolved gap is the seven-parameter input contract, which is neither in the schema descriptions nor in the description text, leaving an agent to guess at units and required inputs.

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?

With 7 parameters and 0% schema description coverage, the description carries the full burden, yet it names no parameter. 'Monthly workload' loosely gestures at the token and request counts, and 'in effect or only announced' hints at include_scheduled, but cached_input_ratio, since, and even model semantics are left entirely undocumented.

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 gives a concrete verb ('Show') plus the resource ('each recorded price change of one model') and enumerates the returned figures (cost before/after, difference, in-effect vs announced). It is clearly distinguishable from estimate_monthly_cost and price_changes by the workload-impact framing, though it never names an alternative tool.

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 implied by the phrase 'one model' plus a 'monthly workload', so an agent can infer it needs a model plus usage volumes. However there is no explicit when-to-use vs when-not guidance, and no mention of how this differs from estimate_monthly_cost or price_changes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.