Skip to main content
Glama

List configured models

models_list
Read-onlyIdempotent

Lists available models for a model provider config, newest first, showing each model's slug, token limits, and reasoning support for agent setup.

Instructions

Lists the models configured under one model provider config, newest first, with each model's slug, token limits, and reasoning support.

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": {
      "modelProviderConfigID": "<modelProviderConfigID>",
      "orgID": "<orgID>"
    },
    "name": "models_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of items to return in one page.
orgIDYesOrganization ID (org_...).
cursorNoOpaque pagination cursor from a previous response's next_cursor. Omit for the first page.
modelProviderConfigIDYesModel provider config ID (mpc_...).

Output Schema

NameRequiredDescriptionDefault
dataYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.11
    • changedOutput schema / $defs / ConfiguredModel / properties / input_modalities / description
      Previous value: -"Input types this configured model accepts. Omnara recognizes text, image, and file; an empty list leaves capabilities unspecified."New value: +"Input types this configured model accepts. Omnara recognizes text, image, file, and audio; an empty list leaves capabilities unspecified."
  2. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "ConfiguredModel": {
      +      "properties": {
      +        "api_variant_options": {
      +          "$ref": "#/$defs/ModelAPIVariantOptions"
      +        },
      +        "context_window_tokens": {
      +          "description": "Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.",
      +          "type": "integer"
      +        },
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "current_revision_id": {
      +          "$ref": "#/$defs/ConfiguredModelRevisionID"
      +        },
      +        "default_cache_retention": {
      +          "$ref": "#/$defs/ModelCacheRetention"
      +        },
      +        "default_max_output_tokens": {
      +          "description": "Default per-request output-token cap sent to the provider unless an agent config overrides it.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "default_reasoning_effort": {
      +          "description": "Default reasoning effort to send for models/API formats that support effort-style reasoning controls.",
      +          "type": "string"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/ConfiguredModelID"
      +        },
      +        "input_modalities": {
      +          "description": "Input types this configured model accepts. Omnara recognizes text, image, and file; an empty list leaves capabilities unspecified.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "management_kind": {
      +          "$ref": "#/$defs/ManagementKind"
      +        },
      +        "max_output_tokens": {
      +          "description": "Known output-token ceiling for this model, or null when unknown.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "model_provider_config_id": {
      +          "$ref": "#/$defs/ModelProviderConfigID"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName",
      +          "description": "User-assigned configured model name used by agent YAML as model.name."
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "output_modalities": {
      +          "description": "Output types this configured model can return.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "provider_model_slug": {
      +          "description": "Exact provider model slug sent to the provider endpoint by the current revision.",
      +          "type": "string"
      +        },
      +        "revision_created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "supported_reasoning_efforts": {
      +          "description": "Reasoning effort values this configured model accepts.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "supports_reasoning": {
      +          "description": "Whether Omnara should use this model's reasoning features.",
      +          "type": "boolean"
      +        },
      +        "supports_tools": {
      +          "description": "Whether this configured model can receive tool definitions and emit tool calls.",
      +          "type": "boolean"
      +        },
      +        "updated_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "model_provider_config_id",
      +        "management_kind",
      +        "name",
      +        "current_revision_id",
      +        "provider_model_slug",
      +        "context_window_tokens",
      +        "max_output_tokens",
      +        "supports_tools",
      +        "supports_reasoning",
      +        "default_reasoning_effort",
      +        "supported_reasoning_efforts",
      +        "input_modalities",
      +        "output_modalities",
      +        "api_variant_options",
      +        "created_at",
      +        "updated_at",
      +        "revision_created_at"
      +      ],
      +      "type": "object"
      +    },
      +    "ConfiguredModelID": {
      +      "pattern": "^mdl_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ConfiguredModelRevisionID": {
      +      "pattern": "^mrev_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ManagementKind": {
      +      "description": "Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.",
      +      "enum": [
      +        "tenant",
      +        "cluster"
      +      ],
      +      "type": "string"
      +    },
      +    "ModelAPIVariantOptions": {
      +      "additionalProperties": true,
      +      "description": "Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, output-token limit, and selected reasoning policy. Provider passthrough values for those fields are ignored. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters. Omnara-managed OpenRouter providers accept only sampling, reasoning, and per-model routing options here.",
      +      "type": "object"
      +    },
      +    "ModelCacheRetention": {
      +      "description": "Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.",
      +      "enum": [
      +        "none",
      +        "short",
      +        "long"
      +      ],
      +      "type": "string"
      +    },
      +    "ModelProviderConfigID": {
      +      "pattern": "^mpc_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/ConfiguredModel"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / modelProviderConfigID / description
      Added value: +"Model provider config ID (mpc_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the sort order ('newest first') and which fields each item carries. It does not discuss pagination limits or behavior for an empty or unknown config, which keeps it from a 5.

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?

One sentence, front-loaded with the verb and scope, and every clause earns its place by adding scope, ordering, or returned fields. Nothing is redundant with the title.

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 an output schema present, the description need not explain return values, yet it usefully names the key fields and ordering. Combined with full schema coverage and rich annotations, an agent has nearly everything needed to call it correctly; only pagination behavior and not-found handling are unaddressed.

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%, with limit, cursor, orgID and modelProviderConfigID all documented in the schema itself, including the cursor's 'omit for the first page' guidance. The description adds no syntax, format, or default information beyond that, so the baseline of 3 applies.

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 and resource ('Lists the models configured under one model provider config') plus the scope that separates it from a provider-level listing. It also enumerates the per-model fields returned (slug, token limits, reasoning support). It stops short of naming a sibling tool such as model_providers_list, so the differentiation is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The scoping phrase 'under one model provider config' implies that you must already have a modelProviderConfigID and should use this when you want the models of a single config. There is no explicit when-to-use/when-not statement and no mention of an alternative for cross-provider or org-wide model listing.

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