Skip to main content
Glama

run

Execute a Renyi program on the VM with arguments under declared grants narrowed by options, returning output and exit status. Optionally replay effects from a recording.

Instructions

Check a program and run its main on the VM with the arguments, under the grant it declares narrowed by the options (the same as renyi run). Answers with what the program printed and how it ended. Its effects really happen unless replay names a recording.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
denyNocapabilities to refuse, such as `network`; the run does not start when any function needs one
pathYesthe program, a file under the served directory
replayNoa recording to answer every effect from; nothing is written or sent
at_mostNobudgets to add, `<capability>=<count>/<unit>`, such as `network.http=10/run`
explainNonarrate the run: purposes, arguments, results and effects
argumentsNothe command-line arguments
allow_hostNohosts `network.http` is narrowed to
allow_readNopath prefixes `filesystem.read` is narrowed to
allow_writeNopath prefixes `filesystem.write` is narrowed to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the critical trait: effects really happen unless `replay` names a recording, which is the key safety fact. It also explains the grant-narrowing model and that the response reports program output and exit. It stops short of error/failure behavior or any permission prerequisites beyond the grant.

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?

Three tight sentences that front-load what the tool does before the grant and effect caveats. The backticked jargon ('grant', 'narrowed', `replay`) is dense but every sentence carries information.

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?

For a 9-parameter execution tool with no annotations and no output schema, the description covers the essentials: it runs `main`, it returns printed output and termination status, and side effects are real unless replayed. Remaining gaps are failure modes and timing/resource limits, which are secondary here.

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. The description goes beyond the schema by framing `deny`/`allow_*`/`at_most` as narrowing the program's declared grant, and by clarifying that `replay` substitutes for every effect so nothing is written or sent — conceptual meaning the per-field descriptions do not tie together.

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?

States a specific verb+resource: run a program's `main` on the VM and return what it printed and how it ended. It anchors to `renyi run`, but that is an external CLI reference rather than a sibling tool, so differentiation from `check`, `effects`, or `run_tests` is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance or exclusion against neighbors like `check` or `run_tests`. The phrase 'Check a program and run its main' ambiguously reuses a sibling's name, so the agent must infer that this tool actually executes rather than statically checks.

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