List models
list_modelsList LLMs tracked by Agent Cost Hub with API list prices per 1M tokens. Optional filter by provider or text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| provider | No | e.g. openai, anthropic, google | |
| popular_only | No |
list_modelsList LLMs tracked by Agent Cost Hub with API list prices per 1M tokens. Optional filter by provider or text.
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| provider | No | e.g. openai, anthropic, google | |
| popular_only | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the pricing unit (per 1M tokens), which is meaningful, but says nothing about ordering, pagination, or how large the returned catalog is — relevant for a list tool with no output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences with the resource and the return payload front-loaded and filtering deferred to the end. No filler and nothing redundant with the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the burden of describing returns, and it does name the list plus the price field. It still omits what a model record contains beyond price, the ordering of results, and the meaning of popular_only, leaving an agent to discover these by calling.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33%: provider has an inline example, while search and popular_only are bare. The description recovers provider and search ('filter by provider or text') but leaves popular_only completely undefined, so the compensation is partial.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (List) and resource (LLMs tracked by Agent Cost Hub) and adds what comes back — API list prices per 1M tokens. That is enough to separate it from single-model lookups like get_model_price, but it never explicitly contrasts with cheapest_models_for or compare_models.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Optional filter by provider or text' implies the unfiltered call returns the full catalog, which is useful context. However, there is no guidance on when to choose this over cheapest_models_for or compare_models, nor any mention of when a filtered list is preferable to a targeted lookup.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.