Skip to main content
Glama

get_rag_models

Read-onlyIdempotent

Lists configured, locally installed, or cached model IDs so agents can verify available local RAG models without downloading, loading, or querying hosted catalogs.

Instructions

On demand, list configured and locally installed or cached model IDs. Does not query hosted catalogs, download or load models, or expose keys or cache paths.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_rag_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.1/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 closed-world, so the safety profile is covered. The description adds real value beyond that: it discloses that no downloads or model loading occur as a side effect and that keys and cache paths are not exposed in the result, which matters for an agent reasoning about secrets and latency.

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 short sentences, front-loaded with the positive scope and followed by the exclusion list. Every clause carries distinct information; nothing is redundant with the title or annotations.

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?

With no parameters, no output schema and rich annotations, the definition covers what an agent needs: what is returned (model IDs), where they come from (configured plus local/cached), and what is deliberately absent. Only minor details such as ordering or whether unconfigured cached models are included are left unspecified.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The schema's additionalProperties:false matches the description's implication that the call takes no input.

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 gives a specific verb (list) and a precisely scoped resource: configured and locally installed or cached model IDs. It implicitly separates this from hosted-catalog lookups, though it does not name any sibling tool such as get_rag_capabilities or get_rag_settings as the alternative.

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?

'On demand' signals this is a cheap, freely callable discovery step, and the negative clauses (no hosted catalogs, no download or load) tell the agent when this tool is the wrong choice. It stops short of naming a sibling for those excluded cases, so it is clear context plus exclusions rather than a full when/when-not/alternative routing.

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