Skip to main content
Glama

Get LLM Model

llm_get_model
Read-only

Get the current preferred LLM model for an agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_nameYesName of the agent to get model for (e.g., 'clawros', 'rokha-agent', 'moros')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so safety behavior is covered. The description adds the 'current preferred' nuance, but does not disclose behavior such as what happens when no model is set or whether a default is returned.

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?

The description is a single sentence with no filler. The verb and object are front-loaded, and every word contributes to understanding the tool's purpose.

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 one-parameter, read-only getter with full schema coverage, the description provides enough context to call the tool correctly. The only minor gap is that, with no output schema, it does not specify the return shape or unset behavior.

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%, and the agent_name parameter is fully documented with examples. The description itself adds no parameter-level meaning beyond what the schema already provides.

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?

The description uses a specific verb ('Get') and a specific resource ('current preferred LLM model') scoped to an agent. It is clearly distinguishable from the sibling tool llm_set_model, which implies writing rather than reading.

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 description clearly frames this as a read-only retrieval of an agent's model preference, which gives adequate context for when to invoke it. It does not explicitly mention alternatives or exclusion criteria, but the read-only nature and sibling setter make the usage context clear.

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.