Skip to main content
Glama

List model provider configs

model_providers_list
Read-onlyIdempotent

List model provider configurations by organization, using server-side filtering, sorting, and cursor pagination to browse and page through available providers.

Instructions

List model provider configs with server-side filtering, sorting, and cursor pagination.

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

Input Schema

NameRequiredDescriptionDefault
nameNoCase-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
sortNoField to sort by; prefix with - for descending order. Defaults to -created_at (newest first).
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.

Output Schema

NameRequiredDescriptionDefault
dataYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order for named resources that expose created and modified timestamps."New value: +"Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "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"
      +    },
      +    "ModelAPIFormat": {
      +      "description": "Wire protocol the model endpoint speaks.",
      +      "enum": [
      +        "openai-responses",
      +        "openai-chat-completions",
      +        "anthropic-messages"
      +      ],
      +      "type": "string"
      +    },
      +    "ModelProviderAPIVariantResponse": {
      +      "type": "string"
      +    },
      +    "ModelProviderAuthKindResponse": {
      +      "type": "string"
      +    },
      +    "ModelProviderConfig": {
      +      "properties": {
      +        "api_format": {
      +          "$ref": "#/$defs/ModelAPIFormat",
      +          "description": "Wire protocol Omnara speaks to this provider."
      +        },
      +        "api_variant": {
      +          "$ref": "#/$defs/ModelProviderAPIVariantResponse",
      +          "description": "Provider-specific flavor of the API format."
      +        },
      +        "auth_kind": {
      +          "$ref": "#/$defs/ModelProviderAuthKindResponse",
      +          "description": "How Omnara sends the credential to the provider."
      +        },
      +        "auth_options": {
      +          "description": "Non-secret authentication settings for this provider config.",
      +          "properties": {
      +            "header_name": {
      +              "description": "Header that carries the API key when auth_kind is api_key_header.",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "region": {
      +              "description": "AWS region to sign for when auth_kind is sigv4.",
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "service": {
      +              "description": "AWS service to sign for when auth_kind is sigv4.",
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "base_url": {
      +          "description": "Provider endpoint base URL.",
      +          "type": "string"
      +        },
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp",
      +          "description": "When the provider config was created."
      +        },
      +        "credential_secret_id": {
      +          "$ref": "#/$defs/SecretID",
      +          "description": "Secret holding the credential Omnara sends to the provider."
      +        },
      +        "endpoint_path": {
      +          "description": "Path under base_url that model requests are sent to.",
      +          "type": "string"
      +        },
      +        "headers": {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "description": "Extra HTTP headers sent with every request to this provider.",
      +          "type": "object"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/ModelProviderConfigID",
      +          "description": "Identifies this provider config."
      +        },
      +        "idle_timeout_ms": {
      +          "description": "Longest wait for response headers or more response data; heartbeats count as activity.",
      +          "type": "integer"
      +        },
      +        "management_kind": {
      +          "$ref": "#/$defs/ManagementKind",
      +          "description": "Whether the organization manages this provider or the Omnara installation provisions and manages it."
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName",
      +          "description": "Name agent configs use to reference this provider as model.provider_config."
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID",
      +          "description": "Organization that owns this provider config."
      +        },
      +        "request_timeout_ms": {
      +          "description": "Total deadline for one provider attempt, including reasoning and response streaming.",
      +          "type": "integer"
      +        },
      +        "secret_headers": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/SecretID"
      +          },
      +          "description": "Extra HTTP headers whose values come from the referenced secrets.",
      +          "type": "object"
      +        },
      +        "updated_at": {
      +          "$ref": "#/$defs/Timestamp",
      +          "description": "When the provider config was last changed."
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "management_kind",
      +        "name",
      +        "api_format",
      +        "api_variant",
      +        "base_url",
      +        "endpoint_path",
      +        "request_timeout_ms",
      +        "idle_timeout_ms",
      +        "auth_kind",
      +        "auth_options",
      +        "credential_secret_id",
      +        "headers",
      +        "secret_headers",
      +        "created_at",
      +        "updated_at"
      +      ],
      +      "type": "object"
      +    },
      +    "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"
      +    },
      +    "SecretID": {
      +      "description": "Secret ID (sec_...).",
      +      "pattern": "^sec_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/ModelProviderConfig"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and a closed world, so the safety profile is covered. The description adds that filtering/sorting happen server-side and that results are cursor-paginated, which is genuine behavioral context, but it stops short of stating ordering defaults or that a next_cursor drives subsequent calls.

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?

A single front-loaded sentence with no filler; the capability summary (filter, sort, paginate) comes immediately after the verb and resource. It is efficient, though the brevity is also what leaves the usage and behavioral gaps unfilled.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a fully described 5-parameter schema and an output schema in place, the definition needn't explain return values or parameter formats, and the one-line summary is adequate to call the tool correctly. What is missing is guidance on how this listing relates to the catalog/get siblings, which a list tool with several close relatives would benefit from.

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 the glob syntax for 'name', the sort enum with its default, the 1-100 limit range, and the cursor's provenance all documented in the schema itself. The description adds no syntax or constraint detail 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?

States a specific verb and resource ('List model provider configs') and adds that filtering, sorting, and cursor pagination are supported server-side. It is clear what the tool does, but it never distinguishes itself from near neighbors like model_providers_catalog or model_providers_get.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no exclusions, and no named alternative. The phrase 'server-side filtering' weakly implies this is the tool for filtered listing rather than client-side filtering, but the agent must infer everything else from the name and siblings.

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