Skip to main content
Glama

list_schemas

Read-onlyIdempotent

List schemas for a specific agent, filtered by schema type or active status, to support targeted agent configuration management.

Instructions

List schemas for an agent (filters: schema_type, include_inactive)

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": {
      "agent_id": "<agent_id>"
    },
    "name": "list_schemas"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent UUID
schema_typeNoFilter by schema type
include_inactiveNoInclude inactive schemas

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.4
    • changedInput schema / properties / agent_id / description
      Previous value: -"UUID do agente"New value: +"Agent UUID"
    • changedInput schema / properties / include_inactive / description
      Previous value: -"Incluir schemas desativados"New value: +"Include inactive schemas"
    • changedInput schema / properties / schema_type / description
      Previous value: -"Filtrar por tipo de schema"New value: +"Filter by schema type"
  2. Changed1 schema field changedv2.2.2
    • changedInput schema / properties / schema_type / enum
      Previous value: -[
      -  "persona_config",
      -  "api_config",
      -  "db_config",
      -  "workflow_config",
      -  "skill_config",
      -  "mcp_tool_config",
      -  "mcp_resource_config"
      -]New value: +[
      +  "persona_config",
      +  "api_config",
      +  "workflow_config",
      +  "skill_config",
      +  "mcp_tool_config",
      +  "mcp_resource_config"
      +]
  3. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the full safety profile is covered without the description. The description adds nothing beyond that — no note on result volume, ordering, inactive-schema default behavior, or whether inactive schemas are excluded by default.

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 short sentence with the action front-loaded and no filler. The parenthetical duplicates schema content, which is minor waste, but nothing is buried or verbose.

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?

For a simple read-only list tool with rich annotations and a fully documented schema, the essentials are present. Still, an agent gets no sense of what a schema object contains, whether inactive schemas are excluded by default, or how results relate to validate_agent_schemas.

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 agent_id, schema_type, and include_inactive all documented including enum values and a default, so the schema does the heavy lifting. The description merely names two filters that the schema already explains in more detail, adding no new semantics.

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 schemas for an agent'. An agent can tell this is a read/list operation scoped to one agent. It does not, however, distinguish itself from the sibling validate_agent_schemas or clarify what a 'schema' record represents.

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 when-to-use guidance, no prerequisites, and no mention of the obvious alternative validate_agent_schemas. The parenthetical filter list hints at narrowing results but never says when to filter by schema_type versus listing everything.

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

Deploy Server

Other Tools