Skip to main content
Glama
Legion33shadow

legion-ai-intelligence

get_ai_model_pricing

Retrieve current API pricing for AI models from providers like OpenAI, Anthropic, Google, Mistral, Groq, Cohere, and Together.

Instructions

Get current pricing for AI models. Providers: openai, anthropic, google, mistral, groq, cohere, together.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
providerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does not disclose whether pricing is live or cached, authentication requirements, rate limits, or any side effects. The word 'current' implies freshness but gives no concrete behavioral detail. The output schema exists, so return format need not be explained.

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?

The description is two short sentences with zero waste and is front-loaded with the core purpose. The provider list is compact and useful.

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?

The tool is simple (two optional parameters) and has an output schema, so return values need not be described. However, the description does not explain how the optional model and provider parameters behave when omitted, leaving a meaningful gap for an agent trying to call it correctly.

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 description coverage is 0%, and both parameters (model, provider) are undocumented. The provider list partially maps to the provider parameter, but the model parameter is entirely unexplained, including whether it accepts specific model names, is case-sensitive, or what happens when omitted.

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 states a specific verb and resource: 'Get current pricing for AI models.' The provider list further narrows the scope to model pricing. However, it does not explicitly distinguish itself from the sibling tool get_gpu_pricing, so sibling differentiation is left to the agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives such as get_gpu_pricing. The description only lists supported providers and offers no conditions, prerequisites, or exclusions.

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