Skip to main content
Glama

list_capability_sets

Read-onlyIdempotent

List named capability sets and the atomic capabilities each expands to, clarifying which permission recipes a token can receive and how to derive weaker access.

Instructions

List the named capability sets and the atomic capabilities each expands to, as {sets: a list of {name, capabilities}}. maidan.agent.worker holds workspace:read, workspace:write, member:self, message:post, event:subscribe, search:query, artifact:upload and thread:transition. maidan.human.admin adds token:admin, channel:admin, secret:read, secret:admin, audit:read-global, operator:global and workspace:admin. A set is a recipe applied when a token is minted; whoami reports which sets you fully hold and attenuate_token derives a weaker token. Takes no arguments. Requires workspace:read.

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_capability_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, and the description adds genuinely new context beyond them: 'Takes no arguments' and 'Requires workspace:read', i.e. the authorization precondition needed before calling. The conceptual model of sets as mint-time recipes also clarifies what the returned data means.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence and the closing two sentences are tight and front-loaded. However, enumerating every capability in maidan.agent.worker and maidan.human.admin consumes most of the text and largely duplicates information the call itself returns, which risks staleness without much selection benefit.

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 no output schema, the description correctly supplies the return shape, the no-arg signature, and the required scope, which is sufficient to invoke the tool correctly. It does not discuss scoping (workspace vs. global) or whether the set catalog is static, but nothing essential to a correct call is missing.

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?

The tool takes zero parameters, so the schema baseline is 4; the description reinforces this with 'Takes no arguments', leaving no ambiguity about invocation. There is no additional parameter nuance to convey.

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 verb and resource ('List the named capability sets and the atomic capabilities each expands to') and even declares the return shape {sets: list of {name, capabilities}}. This is clearly distinguishable from sibling capabilities such as whoami (which sets you hold) and attenuate_token (deriving a weaker token).

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

Usage Guidelines4/5

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

Explicitly positions the tool relative to alternatives: whoami reports which sets you fully hold, attenuate_token derives a weaker token, and a set is a 'recipe applied when a token is minted' — establishing the role of this listing in that flow. It stops short of an explicit 'use this when / don't use this when' statement, so a 4 rather than a 5.

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