Skip to main content
Glama
io.github.ufhouck/aicost-cli

io.github.ufhouck/aicost-cli

get_pricing_metadata

Retrieves metadata for the current pricing database, including schema version, model and live catalog counts, last update date, and currency cache timestamp.

Instructions

Get metadata about the current pricing database (schema version, model count, live catalog count, last update date, currency cache timestamp).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_pricing_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'Get' plus the field list signals a read-only, informational operation. It usefully discloses the exact fields returned, partially compensating for the absent output schema, but says nothing about caching behavior, freshness guarantees, or whether sync_pricing_data mutates what is reported.

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?

A single front-loaded sentence with a parenthetical enumeration; every clause earns its place and nothing is redundant. The most important information (what is returned) appears immediately.

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 zero-parameter, annotation-free tool with no output schema, enumerating the returned fields is the key contribution and it is done well. Minor gaps remain: value formats (e.g., date/timestamp encoding) and the relationship to sync_pricing_data are not described.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline of 4 applies; there is no argument meaning for the description to add. The empty schema is consistent with the description's implication that no input is needed.

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?

The description states a specific verb and resource ('Get metadata about the current pricing database') and enumerates the exact contents (schema version, model count, live catalog count, last update date, currency cache timestamp). This makes it clearly distinct from siblings like get_ai_cost, calculate_ai_cost, and sync_pricing_data without needing to open any schema.

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?

No explicit when-to-use or when-not-to-use guidance is given, nor are alternatives named. Usage is only implied: an agent can infer this is a cheap pre-flight check for catalog freshness before calling cost or model tools, but the description never says so.

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