Skip to main content
Glama

discover_models

Queries provider /models endpoints to list available AI models and refresh provider inventory for delegation and failover.

Instructions

Discover models from provider /models endpoints

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refreshNo
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.4

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It hints at the data source (/models endpoints) but omits auth requirements, caching/refresh behavior, network effects, rate limits, and error behavior.

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?

The description is a single front-loaded sentence with no wasted words. It is efficient, though it is arguably too terse given the missing parameter and behavioral context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and two parameters at 0% schema description coverage, the description is incomplete. An agent lacks enough information to invoke it confidently, especially regarding refresh behavior and provider values.

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%, so the description must compensate for two undocumented parameters. It does not explain the 'refresh' flag or define accepted 'provider' values; the phrase '/models endpoints' only loosely implies the provider parameter's role.

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?

States a specific verb ('Discover') and resource ('models'), and adds the source ('provider /models endpoints'). However, it does not distinguish this from the sibling tool list_models, 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 Guidelines2/5

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

Provides no explicit when-to-use guidance, prerequisites, or alternatives. The sibling list_models is an obvious potential alternative, but the description never mentions when to choose this tool over that one.

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