Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

list_capabilities

Read-onlyIdempotent

ACCESS READ: use before a write, runtime, or lifecycle call to inspect this credential’s allowed capabilities. Omit surface to receive the full scoped report; provide surface to filter it. The result lists permitted operations/roles and public surfaces, never grants authority, and get_scope is the alternative when you only need tenant identity.

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

Input Schema

NameRequiredDescriptionDefault
surfaceNoDocumented surface input for list_capabilities; use the published type and keep customer data within the authenticated scope.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / environmentId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / organizationId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / projectId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / surface / description
      Added value: +"Documented surface input for list_capabilities; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description still adds value by disclosing what the response contains ('permitted operations/roles and public surfaces') and clarifying that the call never grants authority. It stops short of noting any rate limits or how large a 'full scoped report' can get.

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?

Three tight sentences, front-loaded with the access category and the pre-write trigger. The filtering rule and the sibling alternative follow in order of decision importance, with no restated or filler text.

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 compensates by summarizing the return contents and the non-granting semantics. The only omission is that all four scope parameters are optional, which an agent must infer from the schema rather than the prose.

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 coverage is 100%, so the baseline is 3, and the description goes beyond it by explaining the behavioral effect of the surface parameter: omitting it yields the full scoped report, providing it filters. The three scope identifiers are left to the schema, which is acceptable given full coverage.

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?

The description leads with a specific verb and resource ('ACCESS READ ... inspect this credential's allowed capabilities') and scopes it to the calling credential. It also distinguishes itself from the sibling get_scope, so an agent can route between the two 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?

It states an explicit trigger ('use before a write, runtime, or lifecycle call'), gives the omit-vs-provide surface decision rule, and names the alternative ('get_scope is the alternative when you only need tenant identity'). When-to-use, when-to-narrow, and when-to-switch are all covered.

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.

Resources