Skip to main content
Glama

Get a Relay model

get_model
Read-onlyIdempotent

Fetch a model's route, request schema, example input, pricing, and availability before calling run_model with a matching input.

Instructions

Returns one model's route, request_schema (what run_model's input must follow), request_example, pricing and availability. With a credential the answer is your account's view (what its tier and grants can run), public otherwise. Then call run_model with an input shaped like request_example.

Input Schema

NameRequiredDescriptionDefault
modelYesExact model name from search_models, e.g. google/gemini-nano-banana-2.1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only supply readOnly/idempotent/openWorld; the description adds genuinely new behavior: the response is auth-dependent ('with a credential the answer is your account's view ... public otherwise'), which materially changes how the agent should interpret results. Missing rate limits or how availability is expressed, so not a top score.

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?

Three tight sentences, front-loaded with the return fields, followed by the credential caveat and the follow-up action. Nothing is repeated and every clause carries information.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the returned fields and explaining the account-vs-public variability. For a one-parameter read tool, an agent has everything needed to call it and interpret the result.

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

Parameters3/5

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

Schema coverage is 100% with a single required parameter already documented as 'Exact model name from search_models, e.g. ...'. The description does not add format or naming guidance beyond that, so the schema does the work; baseline 3 applies.

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?

Names a specific verb and resource ('Returns one model's route, request_schema, request_example, pricing and availability') and enumerates exactly what comes back. This clearly separates it from search_models (discovery) and get_pricing (cost-only) without the agent needing to open the schema.

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

Usage Guidelines4/5

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

"Then call run_model with an input shaped like request_example" gives an explicit next step and sequencing, which is strong guidance. It stops short of naming when to prefer search_models first (only the schema carries "Exact model name from search_models") or when to skip get_model in favor of get_pricing, so no exclusion rules.

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