Skip to main content
Glama

list_profiles

Read-only

List agent profiles in staging or prod, filter by kind, status, category, and page results to inspect IDs, models, endpoints, and version pins.

Instructions

List agent profiles in an environment (staging|prod), optionally filtered by agent_kind, status (active|draft|specialist|archived| template) and/or category (agent_type). Returns id, kind, slug, status, model ids, endpoint, served version pin and agent_type (the agent's category slug, or null) — paged by limit/offset (total, has_more say what was cut).

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": "list_profiles"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoConfig branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves.staging
limitNoMaximum number of rows to return.
offsetNoSkip this many rows first (paging).
statusNoOnly profiles with this status ('' = all).
agent_kindNoOnly this agent kind.
agent_typeNoOnly agents in this category: a category slug from agent_types(action='list'), or 'none' for uncategorised agents. '' = no filter.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read, so the description's added burden is lower. It contributes a useful behavioral detail — paging via limit/offset with `total`/`has_more` signalling what was cut — but spends most of its words enumerating return fields, which is redundant given an output schema exists.

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?

The core scope and filters are front-loaded in the first clause, with the return shape and paging after. It is dense but largely earns its words; the long parenthetical return-field list is the one stretch that could be trimmed.

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 a full output schema, complete parameter documentation and a readOnly annotation, the description covers what an agent needs to call it and interpret paging. It could add only marginal things such as default-limit implications or ordering of results.

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%, so baseline is 3; every parameter including the enum-constrained env and the agent_type 'none' sentinel is already documented in the schema. The description's mention of `agent_type` as 'the agent's category slug, or null' restates the schema rather than adding new semantics (e.g., how status and agent_kind interact).

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 agent profiles') plus the environment scope (staging|prod) and the filterable dimensions, which clearly separates it from singular tools like get_profile or fork_profile. It never explicitly names a sibling, so it stops short of full differentiation.

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 implied by the filters ('optionally filtered by agent_kind, status ... and/or category'), telling the agent this is the browse/enumerate entry point. There is no explicit statement of when to prefer this over get_profile or agent_types, and no prerequisites or exclusions are given.

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