Skip to main content
Glama

Execute TypeScript

execute_typescript
Destructive

Run a short TypeScript program that calls Caly tools (found via search_tools) in an isolated sandbox. See the server instructions for the full contract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesA TypeScript program body run in an isolated sandbox. Call the external_* functions search_tools declared; the program must `return` its result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the agent knows this is an unsafe, side-effecting, open-world execution. The description adds the isolated-sandbox context and the requirement that the program `return` its result, but it doesn't explain what 'short' means, concurrency limits, or what gets destroyed. It adds some value beyond annotations without contradicting them.

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?

Two tight sentences, front-loaded with the core action and then pointing to server instructions. It's efficient, though the pointer to server instructions is a bit of a punt rather than self-contained guidance.

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 single-parameter tool with full schema coverage and no output schema, the description covers the essentials: what it does and that the program must return its result. However, it defers the 'full contract' to server instructions and never mentions key behavioral facts (what tools are exposed as functions, whether external_* is always the prefix, error semantics), leaving meaningful gaps for an agent invoking it blind.

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

Parameters3/5

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

Schema description coverage is 100%, so the single `code` parameter is fully documented in the schema (including the `return` requirement and external_* function contract). The description adds no parameter-level detail beyond what the schema provides, so baseline 3 is appropriate.

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: runs TypeScript code in an isolated sandbox that calls Caly tools found via search_tools. This distinguishes it from the sibling search_tools, which only finds tools. It doesn't fully explain the program model (e.g., what 'short' means or what functions are exposed), but the core purpose is clear.

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

Usage Guidelines3/5

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

The description implies you call it after finding tools with search_tools and that it's for short programs, but there's no explicit when-to-use vs. alternatives, no limits, and no exclusions. The deferral to 'server instructions for the full contract' leaves the agent without local guidance.

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