Skip to main content
Glama

List agent profiles

profiles_list
Read-onlyIdempotent

Lists the project's agent profiles, newest first by default, filterable by name. Items include a summary of each profile's current config, not its full compiled definition.

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>",
      "projectID": "<projectID>"
    },
    "name": "profiles_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.
projectIDYesProject ID (proj_...).
stats_sinceNoStart of the window `stats.usage` tallies, with `include_stats`. Omit to tally from the earliest recorded call.
include_statsNoInclude each profile's `stats`, so a list can show instance counts and usage without a request per profile.

Output Schema

NameRequiredDescriptionDefault
dataYes
next_cursorYesOpaque cursor for the next page, or null when this is the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / UsageCostTotals / properties / effective_usd
      Added value: +{
      +  "description": "Decimal sum in USD of the cost Omnara counts for each tallied model call: the model's own pricing when set, otherwise the provider-reported cost, otherwise a list-price estimate. Calls that could not be priced contribute nothing; compare model_calls_with_effective_cost against model_calls to see how complete the figure is.",
      +  "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / UsageCostTotals / properties / model_calls_with_effective_cost
      Added value: +{
      +  "format": "int64",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / $defs / UsageCostTotals / required
      Previous value: -[
      -  "provider_reported_usd",
      -  "model_calls_with_reported_cost"
      -]New value: +[
      +  "provider_reported_usd",
      +  "model_calls_with_reported_cost",
      +  "effective_usd",
      +  "model_calls_with_effective_cost"
      +]
  2. Changed2 schema fields changed
    • 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": {
      +    "AgentConfigID": {
      +      "description": "Agent config ID (acfg_...).",
      +      "pattern": "^acfg_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentConfigModel": {
      +      "properties": {
      +        "api_format": {
      +          "$ref": "#/$defs/ModelAPIFormat"
      +        },
      +        "api_variant": {
      +          "$ref": "#/$defs/ModelProviderAPIVariantResponse"
      +        },
      +        "configured_model_id": {
      +          "$ref": "#/$defs/ConfiguredModelID"
      +        },
      +        "context_window_tokens": {
      +          "description": "Effective context budget for input and output tokens after model, project, and agent settings are applied. 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"
      +        },
      +        "current_revision_id": {
      +          "$ref": "#/$defs/ConfiguredModelRevisionID"
      +        },
      +        "default_cache_retention": {
      +          "$ref": "#/$defs/ModelCacheRetention"
      +        },
      +        "default_max_output_tokens": {
      +          "description": "Effective per-request output-token cap sent to the provider.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "default_reasoning_effort": {
      +          "type": "string"
      +        },
      +        "input_modalities": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "max_output_tokens": {
      +          "description": "Effective known output-token ceiling after model and project settings, or null when unknown.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName",
      +          "description": "Configured model name selected by this agent config, rendered from the current configured model record."
      +        },
      +        "output_modalities": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "provider_config": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "provider_model_slug": {
      +          "description": "Exact provider model slug on the configured model's current revision at response time.",
      +          "type": "string"
      +        },
      +        "supported_reasoning_efforts": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "supports_reasoning": {
      +          "type": "boolean"
      +        },
      +        "supports_tools": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "provider_config",
      +        "name",
      +        "provider_model_slug",
      +        "configured_model_id",
      +        "current_revision_id",
      +        "api_format",
      +        "api_variant",
      +        "context_window_tokens",
      +        "max_output_tokens",
      +        "default_cache_retention",
      +        "supports_tools",
      +        "supports_reasoning",
      +        "default_reasoning_effort",
      +        "supported_reasoning_efforts",
      +        "input_modalities",
      +        "output_modalities"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentConfigSummary": {
      +      "properties": {
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "effective_definition_hash": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/AgentConfigID"
      +        },
      +        "instruction_hash": {
      +          "type": "string"
      +        },
      +        "model": {
      +          "$ref": "#/$defs/AgentConfigModel"
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "project_id": {
      +          "$ref": "#/$defs/ProjectID"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "source_format": {
      +          "enum": [
      +            "yaml",
      +            "json"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "project_id",
      +        "effective_definition_hash",
      +        "model",
      +        "created_at"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentProfileID": {
      +      "pattern": "^aprf_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentProfileStats": {
      +      "description": "Present when the list was requested with `include_stats`.",
      +      "properties": {
      +        "agent_count": {
      +          "description": "Unarchived top-level agents launched from the profile.",
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "usage": {
      +          "$ref": "#/$defs/UsageTotals",
      +          "description": "Model usage by the profile's agents and their subagents since `stats_since`."
      +        }
      +      },
      +      "required": [
      +        "agent_count",
      +        "usage"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentProfileSummary": {
      +      "properties": {
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "current_config": {
      +          "$ref": "#/$defs/AgentConfigSummary"
      +        },
      +        "current_config_id": {
      +          "$ref": "#/$defs/AgentConfigID"
      +        },
      +        "current_generation": {
      +          "format": "int32",
      +          "type": "integer"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/AgentProfileID"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "project_id": {
      +          "$ref": "#/$defs/ProjectID"
      +        },
      +        "stats": {
      +          "$ref": "#/$defs/AgentProfileStats"
      +        },
      +        "updated_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "project_id",
      +        "name",
      +        "current_config_id",
      +        "current_generation",
      +        "current_config",
      +        "created_at",
      +        "updated_at"
      +      ],
      +      "type": "object"
      +    },
      +    "ConfiguredModelID": {
      +      "pattern": "^mdl_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ConfiguredModelRevisionID": {
      +      "pattern": "^mrev_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ModelAPIFormat": {
      +      "description": "Wire protocol the model endpoint speaks.",
      +      "enum": [
      +        "openai-responses",
      +        "openai-chat-completions",
      +        "anthropic-messages"
      +      ],
      +      "type": "string"
      +    },
      +    "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"
      +    },
      +    "ModelProviderAPIVariantResponse": {
      +      "type": "string"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ProjectID": {
      +      "description": "Project ID (proj_...).",
      +      "pattern": "^proj_[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"
      +    },
      +    "UsageCostTotals": {
      +      "properties": {
      +        "model_calls_with_reported_cost": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "provider_reported_usd": {
      +          "description": "Exact decimal sum in USD of the costs the provider reported for the tallied model calls. Calls whose provider reported no cost contribute nothing; compare model_calls_with_reported_cost against model_calls to see how complete the figure is.",
      +          "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "provider_reported_usd",
      +        "model_calls_with_reported_cost"
      +      ],
      +      "type": "object"
      +    },
      +    "UsageTokenTotals": {
      +      "description": "Summed token counts across the tallied model calls. Input totals are the sum of uncached, cache-read, and cache-write tokens; output totals include reasoning tokens.",
      +      "properties": {
      +        "cache_read_input_tokens": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "cache_write_input_tokens": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "input_tokens_total": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "output_tokens_total": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "reasoning_output_tokens": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "uncached_input_tokens": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "input_tokens_total",
      +        "uncached_input_tokens",
      +        "cache_read_input_tokens",
      +        "cache_write_input_tokens",
      +        "output_tokens_total",
      +        "reasoning_output_tokens"
      +      ],
      +      "type": "object"
      +    },
      +    "UsageTotals": {
      +      "properties": {
      +        "cost": {
      +          "$ref": "#/$defs/UsageCostTotals"
      +        },
      +        "model_calls": {
      +          "description": "Model calls that recorded token usage or a provider-reported cost.",
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "tokens": {
      +          "$ref": "#/$defs/UsageTokenTotals"
      +        }
      +      },
      +      "required": [
      +        "model_calls",
      +        "tokens",
      +        "cost"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/AgentProfileSummary"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "description": "Opaque cursor for the next page, or null when this is the last page.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real value by disclosing the default ordering and, importantly, that returned items are summaries rather than full compiled definitions — a constraint an agent would otherwise discover only after a wasted follow-up. Pagination and stats behavior are left to the schema.

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 sentences, no filler, and the most decision-relevant facts (scope, default order, filter, return granularity) are front-loaded. Nothing is repeated verbatim from 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 eight parameters, full schema coverage, and an output schema, the description need not explain return fields, and it correctly limits itself to the one behavioral caveat that matters (summary vs. compiled definition). The only gap is that include_stats and the cursor/paging flow are never connected to a use case in prose.

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 coverage is 100% with per-parameter descriptions, including the glob syntax for name and the sort enum semantics, so the schema does the heavy lifting and the baseline of 3 applies. The description restates 'newest first by default' and 'filterable by name' without adding syntax or edge-case guidance beyond what the schema already documents.

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 gives a specific verb and resource ('Lists the project's agent profiles'), states the default ordering, and names the filter dimension. The clause 'a summary of each profile's current config, not its full compiled definition' implicitly separates it from profiles_get, so an agent can tell which call yields the full definition.

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?

Usage is only implied: it is obviously an enumeration tool scoped to one project, and the summary-vs-full-definition remark hints that profiles_get is needed for detail. There is no explicit when-to-use statement, no exclusion of alternatives, and no note about the include_stats path being the efficient way to avoid per-profile calls.

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.