Skip to main content
Glama

run_agent

Destructive

Executes an immediate, one-off task from a plain-language instruction by having the on-site AI agent plan and run actions under policy guardrails, then returns a summary.

Instructions

Run a one-off autonomous task NOW: hand a plain-language instruction to the on-site AI agent, which plans and executes it using Keelhob tools (with policy guardrails), then returns a summary. Requires an agent API key in settings. Use for "just handle X" automations you don't want to schedule.

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": {
      "instruction": "<instruction>"
    },
    "name": "run_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_stepsNo
allow_riskyNo
instructionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations only declare destructiveHint=true; the description adds meaningful context that the agent runs autonomously with policy guardrails, needs an API key, and returns a summary rather than raw output. However, it never says what side effects or destructive actions are possible, nor how allow_risky interacts with the guardrails, which matters most for a destructive autonomous tool. No contradiction with annotations.

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?

Front-loads the action and density is high with no filler, packing scope, mechanism, prerequisite, and usage cue into three compact sentences. Slight run-on in the first sentence and a trailing fragment in the third, but no wasted wording.

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?

For a high-complexity autonomous agent with no output schema, the description does state it returns a summary and notes the API-key requirement. It is nevertheless incomplete: the two behavioral parameters that govern autonomy and risk tolerance are unexplained, and the destructive surface is not characterized beyond the bare hint.

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 coverage is 0%, so the description must carry parameter meaning, yet it only implies what `instruction` is (plain-language instruction). `max_steps` (default 14) and `allow_risky` (default false) are never mentioned, leaving two of three parameters—both safety/cost relevant for an autonomous agent—undocumented anywhere.

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?

Description names a specific verb and resource ("Run a one-off autonomous task", "on-site AI agent") and clarifies it plans/executes with Keelhob tools and returns a summary. It is clearly distinguishable from scheduled automation, though it never names a sibling (e.g., agent_runs) to draw the boundary explicitly.

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?

Gives a concrete when-to-use rule ("'just handle X' automations you don't want to schedule") and a prerequisite ("Requires an agent API key in settings"). No explicit when-NOT-to-use case beyond not-scheduling, and no named alternative tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.