Skip to main content
Glama

model_catalogue

Read-onlyIdempotent

When: choosing a model, estimating a cost or checking a context window. Prices and context windows are read daily from each provider's own pricing page (prices_as_of, price_status on every price). Gives, by what you pass: models → their facts, side by side when 2-5; models + input_tokens (+ output_tokens) → cost per model; models + messages → does the conversation fit each window (the one gated answer); provider → the catalogue; use_case / features / max_budget / vram_gb → a shortlist on facts; text → its token count. Does not prove: which model is best for your task: only running your own cases on each tells that.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "models": [
        "gpt-4o-mini"
      ],
      "input_tokens": 1200,
      "output_tokens": 300
    },
    "name": "model_catalogue"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNocloud or local
textNoCount its tokens.
top_nNo
modelsNoModel ids, e.g. ["claude-sonnet-5-5", "gpt-4o"].
vram_gbNo
featuresNovision, function_calling, json_mode, streaming, reasoning
messagesNo[{role, content}]: checked against each model's window.
providerNoList one provider's models ("all" for every one).
use_caseNo
max_budgetNoUSD per month, with tokens_per_day.
input_tokensNo
quantizationNo
output_tokensNo
tokens_per_dayNo
max_output_tokensNoReserved for the answer (default 4096).

Output Schema

NameRequiredDescriptionDefault
fitNo
costNo
gateNo
modelsNo
tokensNo
catalogueNo
shortlistNo
comparisonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds freshness guarantees not in the schema: prices are 'read daily from each provider's own pricing page' and each price carries prices_as_of and price_status. It also flags that the messages check is 'the one gated answer', warning of an asymmetric result shape.

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 'When:' trigger and uses a compact arrow notation that packs many input→output mappings into a few lines with no filler. The compression occasionally tips into telegraphic phrasing ('Does not prove: which model is best for your task', 'the one gated answer') that costs a read to parse.

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 15-parameter tool with zero required fields, explaining how combinations select behaviors is the essential missing piece, and it does that. Return values are covered by the output schema, so only edge cases (no arguments at all, mode semantics, quantization) are left unaddressed.

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?

With 15 parameters at 53% schema coverage, the description carries real weight by mapping parameter combinations to behaviors (models, models+input_tokens(+output_tokens), models+messages, provider, use_case/features/max_budget/vram_gb, text). Gaps remain for mode, top_n, quantization, and tokens_per_day, which are never explained in either place.

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 names the resource (a model catalogue) and enumerates the exact outputs by input combination: 'models → their facts, side by side when 2-5', 'models + input_tokens → cost per model', 'text → its token count'. It also explicitly separates itself from the nearby evaluate_* siblings with 'Does not prove: which model is best for your task'.

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?

'When: choosing a model, estimating a cost or checking a context window' gives three concrete triggers, and the closing line states the boundary condition (it cannot tell you the best model). It stops short of naming an alternative tool to call instead, so it is not a full when/when-not/alternatives statement.

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.