Skip to main content
Glama

Get model parameters

get_model_params
Read-only

Retrieve the parameter contract for a public model—JSON Schema, field defaults/options, and media slot limits—before estimating cost or creating a task.

Instructions

Return the parameter contract for one public model: a JSON Schema (when the source schema is convertible), field defaults/options, and media slot limits. Use this before estimate_cost or create_task.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "modelId": "<modelId>"
    },
    "name": "get_model_params"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelIdYesPublic modelId from list_models.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world behavior. The description adds valuable behavioral context by explaining the returned contract: JSON Schema availability, field defaults/options, and media slot limits, including the conditional case where the source schema may not be convertible.

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?

Two compact sentences with the return contents front-loaded and the usage instruction second. Every sentence earns its place and there is no filler.

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?

For a read-only one-parameter lookup with no output schema, the description does a good job explaining what is returned and when to call it. Minor gaps remain around error behavior when the model or convertible schema is unavailable, but the essential contract is present.

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?

There is only one parameter, and schema coverage is 100%, with the schema already stating that modelId is a public modelId from list_models. The description reinforces that this applies to one public model but adds no further syntax or selection guidance beyond the schema.

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?

The description states a specific verb and resource: returning the parameter contract for one public model. It clearly distinguishes this from estimate_cost and create_task as a prerequisite lookup, though it does not explicitly differentiate from list_models or prepare_generation.

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?

It gives clear sequencing guidance: use this before estimate_cost or create_task. That establishes when to call it, but it does not state when not to use it or name a direct alternative lookup tool.

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