Skip to main content
Glama

Correr un script de solo lectura

correr
Read-only

Run read-only manifest scripts to return exit codes and trimmed output; list scripts when no name is given. Use for safe, bounded script execution without shell or writes.

Instructions

Corre un script de solo lectura del manifiesto: código de salida y salida recortada. Sin nombre los enumera. Úsala en vez de Bash para lo que cubre un script. Sin shell; rechaza rutas absolutas, .. y lo que escribe (va por correr_escritura).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoun argumento por elemento; rutas relativas, sin ..
nombreNoscript o «lista»lista
detalleNoesquema = ficha sin correrlonombre

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
exitNo
notaNo
salidaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint; the description adds substantial behavior: no shell is spawned, absolute paths and `..` are rejected, and anything that writes is refused. It also discloses the response shape (exit code + trimmed/truncated output), which matters for a code-execution tool.

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?

Three tight sentences, each carrying a distinct payload (what it returns, default discovery behavior, when to use it, and the safety envelope). The routing constraint is front-loaded immediately after the purpose, with zero filler.

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

Completeness5/5

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

With an output schema present, return-value documentation is optional, yet the description still summarizes it. Combined with the sandbox restrictions, write-redirect, and default behavior, an agent has everything needed to invoke this safely without opening 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 description coverage is 100%, so the baseline is 3, but the description adds real semantics beyond the schema: omitting `nombre` enumerates the available scripts, and it reinforces the path constraints (`..`, relative only) that the `args` schema only partially states. The `detalle` enum behavior is left to the schema, so it is not a full 5.

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?

States a concrete verb+resource: it runs read-only manifest scripts and returns exit code plus trimmed output. It also distinguishes itself from adjacent tooling by naming Bash and `correr_escritura`, so the agent knows exactly which capability this is and which it is not.

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?

Explicit routing: 'Úsala en vez de Bash para lo que cubre un script' tells when to prefer this over the general-purpose alternative, and the mention that writes go through `correr_escritura` gives the negative case. The 'sin `nombre` los enumera' clause further tells the agent how to invoke it when it just wants discovery.

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

Deploy Server

Other Tools