Skip to main content
Glama

get_model_performance_metrics

Retrieve Studio insights performance metrics for language models, filtered by model ID and timeframe, to analyze usage and model behavior.

Instructions

Performance metrics from Studio insightsLanguageModelUsage.

Input Schema

NameRequiredDescriptionDefault
model_idNo
timeframeNo7d

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

C2/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 and delivers almost nothing: it does not state that this is a read-only operation, whether data is live or cached, what the default timeframe means, or how the nullable model_id behaves (all models vs. an error). The presence of an output schema covers return values, but the operational behavior remains undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single fragment, so there is no padding, but that brevity comes at the cost of under-specification rather than efficient communication. The one clause present earns little of its place because it clarifies almost nothing.

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?

The output schema means return values need not be described, but the definition is still incomplete for a two-parameter analytics tool with no annotations: timeframe syntax, model_id default behavior, and the relationship to get_insights_usage are all absent.

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% across both parameters. The description adds no meaning for model_id (nullable, default null - presumably meaning 'all models') or timeframe (default '7d', no accepted format or units). With coverage this low, the description is required to compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description largely restates the tool name ('Performance metrics') and appends a source attribution ('from Studio insightsLanguageModelUsage'), which is a garbled identifier rather than a clarifying noun. There is no distinct verb beyond the implied 'get', and no differentiation from the sibling get_insights_usage, which likely overlaps in purpose.

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?

No when-to-use guidance is given, no mention of alternatives, and no prerequisites. The sibling set contains get_insights_usage and get_model_providers, but the description gives no signal for choosing among them.

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