Skip to main content
Glama

Test a model

test_model
Idempotent

Verify an admin-selected model ID with one real call: language models answer a one-word prompt, while transcription models process a 5-second clip and return word timestamps for cuts and captions.

Instructions

Admins only: check that a model id works on this instance with one real call (same as Test under Settings → Models). language: the model must answer a one-word prompt. transcription: a 5-second test clip is transcribed again and must come back with word timestamps, which cuts and captions need; the result is stored and shown in the model picker. Changes nothing else. Returns { ok, ms, reply, error?, wordTimestamps: { wordLevel, segments, text, checkedAt } | null }.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "test_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesprovider:model, e.g. openrouter:openai/whisper-large-v3-turbo
kindYeslanguage = AI_MODEL / the judge; transcription = TRANSCRIPTION_MODEL or the align model

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.36.0

TDQS

A4.6/5.0
Behavior5/5

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

Discloses authorization (admins only), that a real call is made, that for transcription the result is stored and surfaced in the model picker with a checkedAt stamp, and that nothing else changes. That storage side effect is the key behavioral fact an agent needs and goes well beyond idempotentHint=true.

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?

Front-loads the admin gate and core purpose, then branches cleanly by kind. The trailing return-shape sentence is dense but earns its place given there is no output schema; no filler sentences.

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?

For a 2-parameter test tool with no output schema, the description covers permission requirements, per-kind behavior, persistence side effects, and the exact return fields including the nullable wordTimestamps object. Nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100% so the baseline is 3, but the description adds meaning the schema lacks: for language the model must answer a one-word prompt; for transcription a 5-second clip is re-transcribed and must return word timestamps because cuts and captions depend on them.

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 and resource: check that a model id works on this instance with one real call, and anchors it to the known UI action (Settings → Models test). This is plainly distinct from siblings such as test_webhook by resource alone.

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?

Gives a clear precondition (admins only) and a clear use case (validating a model id before relying on it), plus per-kind expectations of what a passing test looks like. It stops short of naming an alternative tool or an explicit when-not-to-use condition, which keeps it from a 5.

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

Deploy Server

Other Tools