Skip to main content
Glama

run_tool

Execute a named development tool with arguments to get exit code, output, and timing. Prefer dry-run for tools that support it to validate and debug issues.

Instructions

Execute a yala tool from the toolkit root and return exit code, stdout, stderr, and timing. Args are an argv list (no shell). Tools marked mutates=true support --dry-run — prefer it first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoCommand-line arguments, one list element each
nameYes
stdinNoOptional text piped to the tool
timeout_sNoSeconds before the run is killed (default 60, max 300)
Behavior4/5

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

With no annotations, the description carries the full burden. It transparently discloses the return format (exit code, stdout, stderr, timing), the no-shell argument behavior, and the dry-run support for mutating tools. This is substantial for an execution tool, though it could mention error handling or permissions.

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 is concise, front-loaded with the primary purpose, and every sentence contributes useful information. No redundant phrases, and the dry-run tip is valuable without bloating the 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?

Given no output schema and no annotations, the description provides necessary return-value information (exit code, stdout, stderr, timing) and context (toolkit root, no shell). It covers the main execution aspects, though it could arguably mention what happens on timeout or failure, which is partially covered by timeout_s in the schema.

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 75% (3/4 params described). The description adds meaning beyond the schema by clarifying that args are an argv list (no shell) and that --dry-run is a preferred flag for mutating tools, which contextualizes the args parameter. This adds value over the schema alone.

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 clearly states the verb (execute) and resource (a yala tool), and specifies what it returns (exit code, stdout, stderr, timing). This distinguishes it from sibling tools like find_tools and tool_info, which are for discovery rather than execution.

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?

The description provides a clear usage guideline: prefer --dry-run for tools with mutates=true. While it does not explicitly name alternatives, it is the only execution tool among siblings, and the dry-run guidance is directly actionable, implying when to use this tool for safe testing first.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MalekYala/yala-agentic-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server