Skip to main content
Glama

agent_types

Create, update, list, or delete agent categories to group and filter agents for reporting; deleting a category leaves its agents uncategorised.

Instructions

User-defined agent categories ("Support", "Sales", "Internal tools"): groups for the Agents list, its filter and reporting. A category is data, not an agent kind — it never changes how an agent runs, is not part of a promote snapshot, and a fresh install has none. action: list (every category in order, each with agent_count) | create (display_name; optional slug, description, color, sort_order) | update (agent_type + any of display_name, description, color, sort_order) | delete (agent_type, confirm=true — the agents in it are NOT deleted, they become uncategorised; without confirm it reports how many agents that is). Put an agent in a category with update_profile(agent_type=...) or templates(action="use", agent_type=...); filter with list_profiles(agent_type=...). Mirrors the portal's Agents › Categories screen.

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

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
slugNocreate only: the category's stable identifier (lowercase letters, digits, hyphens). Blank = made from the name. It cannot be changed later.
colorNoChip colour, one of: slate, teal, blue, violet, pink, red, amber, green (default slate).
actionNolist | create | update | delete.list
confirmNofalse (default) = dry run: report what WOULD change and change nothing. true = execute.
agent_typeNoThe category to update or delete: its slug (or its agent_type_id).
sort_orderNoPosition in pickers and lists, ascending. create: default is last. update: set it to move the category.
descriptionNoWhat kind of agents belong in the category (optional, at most 280 characters).
display_nameNocreate: the category's name (required). update: rename it; the slug stays the same.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does much of it: categories are plain data, excluded from promote snapshots, absent on fresh installs, and delete removes only the category while its agents become uncategorised. It also explains that delete without confirm is a dry run that reports the affected agent count. Gaps remain around permissions or auth requirements and whether list output is paginated (only `agent_count` is mentioned).

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?

Front-loaded with the concept and its key distinction, then a compact action table. Dense but every clause carries information; only the closing portal-reference sentence is decorative. Slightly heavy for a single paragraph but well structured.

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

Completeness5/5

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

Nine parameters, no annotations, and an output schema that covers return values — the description supplies exactly what is missing: per-action parameter mapping, mutation semantics, dry-run behavior, and the conceptual boundary against the sibling tools it cross-references. Nothing an agent needs to call it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds genuine value the schema lacks: it maps parameters to actions — create takes display_name plus optional slug/description/color/sort_order, update takes agent_type plus any of the mutable fields, delete takes agent_type with confirm=true. That per-action applicability is not derivable from the flat schema properties alone.

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?

States a specific resource (user-defined agent categories) with concrete examples, and explicitly distinguishes it from agent kinds: 'A category is data, not an agent kind — it never changes how an agent runs, is not part of a promote snapshot, and a fresh install has none.' An agent can immediately tell this manages category records rather than agents or profiles.

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

Usage Guidelines5/5

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

Names the sibling tools and the exact conditions that route work elsewhere: 'Put an agent in a category with update_profile(agent_type=...) or templates(action="use", agent_type=...); filter with list_profiles(agent_type=...).' It also clarifies the boundary case — categories never alter runtime behavior — so an agent won't misuse this for agent configuration.

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