Skip to main content
Glama

Runledge

Execute action through credential broker

execute_brokered_action
DestructiveIdempotent

Run a provider API call through a workspace credential the agent never sees. Runledge evaluates policy first and calls the provider only when allowed; the idempotency key guarantees at most one call. Held or Blocked proposals are recorded but not executed. Adjusted proposals are refused: this broker does not rewrite provider requests.

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>",
      "credential": "<credential>",
      "idempotency_key": "<idempotency_key>",
      "action": "<action>",
      "request": "<request>"
    },
    "name": "execute_brokered_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
requestYes
credentialYes
approval_idNo
workspace_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Even though annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=true, the description adds substantive context: the credential is never exposed to the agent, policy is evaluated before any provider call, the idempotency key enforces at-most-once semantics, and non-approved proposal states produce no execution. The idempotency claim is consistent with the idempotentHint annotation.

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?

Four tight sentences, front-loaded with what the tool does, then the policy gate, then the outcome semantics for Held/Blocked/Adjusted. No filler, and the most decision-relevant constraint (refusal to rewrite requests) is placed where it reads as a hard limit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Behavioral coverage is strong for a destructive, open-world mutation. However, with 0% schema coverage and no output schema, the definition omits both per-parameter guidance (especially approval_id and the request object) and any indication of what a successful or refused call returns, which an agent needs for a six-parameter nested tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters including nested action, request, and metadata objects, so the description must carry the burden. It gives real meaning to only two: credential ('a workspace credential the agent never sees') and idempotency_key ('guarantees at most one call'). workspace_id, approval_id, action, and request are entirely unexplained.

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 opens with a concrete verb and resource: 'Run a provider API call through a workspace credential.' It names the mediating system (Runledge) and makes clear this is the execution step rather than evaluation or recording, which distinguishes it from siblings like evaluate_action and record_action.

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?

It explains the execution preconditions clearly: policy is evaluated first, Held or Blocked proposals are recorded but not executed, and Adjusted proposals are refused. What it does not do is explicitly tell the agent to call evaluate_action or request_approval first, nor does it name any sibling as an alternative, so it falls short of full when/when-not routing.

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