Skip to main content
Glama

list_delegations

Read-only

List your own delegations with optional filters. Each item carries the DERIVED effective_status/is_valid beside its stored status — read effective_status, since status records only whether the owner revoked the delegation themselves, so a delegation still reads active there after its domain control proof was revoked, suspended or expired, and after its OWN lifetime ran out. effective_status accounts for all of those: it reports expired once either lifetime has passed, whichever is earlier. Read invalid_reason too: unsupported_version means the stored token predates delegation schema 2.0, so no verifier accepts it even while effective_status reads active (is_valid is then false) — issue a new delegation to replace it. Tokens are not included in the list — use get_delegation for the stored token. There is no public enumeration of third-party delegations.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.

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

Input Schema

NameRequiredDescriptionDefault
qNoSearch: literal, case-insensitive text matched in the artifact, the issuing domain or the ph_dlg_ handle
pageNoPage number
limitNoItems per page
statusNoFilter by the delegation's OWN stored status (active|revoked). Does NOT filter the derived effective_status — status=active still returns delegations whose control proof died, and ones that simply ran out.

Output Schema

NameRequiredDescriptionDefault
dataNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Search: literal, case-insensitive text matched in the artifact, the issuing domain or the ph_dlg_ handle",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "data": {},
      +    "pagination": {}
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

readOnlyHint=true is consistent with a listing tool, and the description goes well beyond annotations: it explains that status is stored-only while effective_status/is_valid are derived, that effective_status covers control-proof revocation, suspension, expiry and lifetime exhaustion (earliest wins), and that invalid_reason=unsupported_version means no verifier will accept the token even while effective_status reads active. That is substantial, non-obvious behavioral context an agent could not get elsewhere.

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?

Purpose is front-loaded in the first clause, followed by the derived-field semantics and then the access note in logical order. It is dense and a few sentences run long or restate the same point ("effective_status accounts for all of those"), but nearly every sentence carries information an agent needs.

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?

With an output schema present, the description needn't enumerate return fields, yet it still explains the derived fields and the meaning of invalid_reason, which the schema likely does not. Auth requirements and the boundary against get_delegation are both covered, so nothing an agent needs to call this correctly is missing.

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 the schema already documents q, page, limit, and the status filter including its caveat about not filtering effective_status. The description adds no parameter-level syntax or format detail beyond that, so the baseline 3 applies.

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 your own delegations") and immediately bounds the scope to the caller's own delegations, explicitly noting that there is no public enumeration of third-party delegations. An agent can distinguish it from get_delegation (which returns the stored token) without opening either schema.

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 alternative explicitly: "Tokens are not included in the list — use get_delegation for the stored token." It also spells out the prerequisite path (needs a Proof account; authenticate the client then call again) and warns that start_login does NOT open this tool, which removes a likely wrong-turn.

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.