Skip to main content
Glama

execute_capability

Execute one routed or known algenta_managed capability by capability id and return the execution receipt. client_managed routes must execute in the customer app or adapter path — this tool will not run them. If the capability requires approval (approval_required), this returns a pending plan (status='approval_required', plus plan_id/plan_hash/nonce) instead of executing — approval and the final plan_id execution are separate, credentialed HTTP operations and are NOT available as tools. Route first with route_capabilities when the right capability is not known.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoCapability-specific execution input.
binding_idNoOptional binding id to disambiguate the execution target.
request_idNoOptional caller request id for correlation.
capability_idYesCapability id from route_capabilities or list_capabilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / binding_id / description
      Added value: +"Optional binding id to disambiguate the execution target."
    • addedInput schema / properties / capability_id / description
      Added value: +"Capability id from route_capabilities or list_capabilities."
    • addedInput schema / properties / input / description
      Added value: +"Capability-specific execution input."
    • removedInput schema / properties / plan_id
      Removed value: -{
      -  "description": "Set only after a previously proposed, approval_required plan has been approved via POST /v1/capability-executions/{plan_id}/approve.",
      -  "type": "string"
      -}
    • addedInput schema / properties / request_id / description
      Added value: +"Optional caller request id for correlation."
  2. Changed1 schema field changed
    • addedInput schema / properties / plan_id
      Added value: +{
      +  "description": "Set only after a previously proposed, approval_required plan has been approved via POST /v1/capability-executions/{plan_id}/approve.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description discloses important behavioral traits beyond the annotations: it returns a pending plan instead of executing when approval is required, it refuses client_managed routes, and it notes that approval and final execution are separate credentialed HTTP operations not exposed as tools. These details materially shape agent expectations.

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?

The description packs the core action, return type, routing constraint, approval behavior, and alternative tool recommendation into three focused sentences. No sentence is wasted, and the primary action is front-loaded.

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?

The tool is complex, has no output schema, and accepts nested objects, but the description covers the critical operational paths: execution, client_managed exclusion, approval-required behavior, and routing prerequisites. It stops short of describing the execution receipt's structure or possible failure modes, which is a minor gap given the open-world output.

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 input schema already documents capability_id, input, binding_id, and request_id. The description adds only modest value by noting capability_id originates from route_capabilities or list_capabilities, which is helpful but not a substantial enhancement over the schema.

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 states a specific action (execute) on a specific resource (an algenta_managed capability by capability id) and explicitly defines the return value (execution receipt). It also distinguishes itself from routing tools by clarifying that it executes known or routed capabilities, not routing itself.

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 gives explicit when-to-use guidance: only for routed or known algenta_managed capabilities. It further states exclusions (client_managed routes will not run here), the approval-required alternative behavior, and prioritizes route_capabilities when the right capability is unknown.

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.