Skip to main content
Glama

list_delegation_grants

Read-onlyIdempotent

Lists delegation grants in a workspace with expiry and revocation state, helping admins audit which delegated access remains active or revoked.

Instructions

List delegation grants in a workspace, including expiry and revocation state. Requires token:admin.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_delegation_grants"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare it read-only, idempotent, closed-world and non-destructive, so the safety profile is covered. The description earns credit for adding two things annotations cannot convey: the payload includes expiry and revocation state, and the call requires an admin token. It omits pagination/ordering behavior, which keeps it from a 5.

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

Conciseness5/5

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

Two short sentences with no filler; the resource and return contents come first and the access prerequisite is appended. Nothing could be trimmed without losing information.

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?

For a one-parameter read tool with full annotation coverage and no output schema, the definition covers purpose, returned fields, and auth needs adequately. The only meaningful gap is listing behavior at scale (pagination or result caps), which an agent may need before calling against a large workspace.

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 0% for the single workspace_id parameter, so the description must carry the meaning. Saying 'in a workspace' does establish that workspace_id scopes the listing, which is the key semantic, but it adds nothing about UUID format or invalid-workspace behavior that the schema does not already express via format:uuid.

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?

The description names a specific verb and resource ('List delegation grants') plus the scope ('in a workspace'), so an agent knows exactly what the tool returns. It does not explicitly distinguish itself from nearby tools such as get_delegation_policy or revoke_delegation_grant, so it stops short of full sibling 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 only implied: an agent can infer this is the read/enumerate counterpart to create_delegation_grant and revoke_delegation_grant. There is no explicit statement of when to use this versus fetching a policy or checking a single grant, and no exclusion or prerequisite guidance beyond the admin token requirement.

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