Skip to main content
Glama

deepinfra

Get model

deepinfra_get_model
Read-only

Get one model's catalog entry (pricing, context length, capabilities). DeepInfra REST: GET /models/{model_name}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoA specific model version (defaults to latest).
model_nameYesThe model name (required). May contain a slash, e.g. 'meta-llama/Meta-Llama-3-8B' — the slash is preserved in the path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered by structured data. The description adds that the return is a catalog entry (pricing, context length, capabilities), which usefully discloses return content, but does not cover error behavior (e.g., unknown model) or whether the version parameter affects the response. A 3 is appropriate given annotations carry the safety signal.

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?

Two short sentences with no waste; the purpose is front-loaded and the REST endpoint detail is appended compactly. Slightly more than strictly necessary, but efficiently structured.

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

Completeness4/5

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

Given a simple read-only tool with two fully documented parameters and an annotation-set safety profile, the description is nearly complete. The main missing element is what a not-found or invalid-model response looks like, and there is no output schema to fall back on.

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 description coverage is 100%, so both parameters are fully documented in the schema, including the slash-handling note for model_name. The description adds no syntax or format details beyond what the schema provides. Baseline 3 is correct when the schema does the heavy lifting.

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?

States a specific verb ('Get') and resource ('one model's catalog entry') and enumerates what the entry contains (pricing, context length, capabilities). This clearly distinguishes it from the sibling deepinfra_list_models, which would return many models rather than one.

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?

The phrase 'one model's catalog entry' implies the singular-fetch use case and contrasts implicitly with the list sibling. However, it does not explicitly say 'use deepinfra_list_models to enumerate all models' or state when not to use this tool, so it falls short of the top-tier routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.