Skip to main content
Glama

Execute TypeScript

execute_typescript
Destructive

Run a short TypeScript program that orchestrates Uptimely MCP 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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
logsNo
errorNo
resultNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description adds useful context ("isolated sandbox", program must return its result), but it does not disclose what the destructive capability actually affects or any rate/permission constraints, and it defers the "full contract" to external server instructions.

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?

Two tight sentences, front-loaded with the core action and scope. No filler, and the pointer to server instructions is at the end rather than padding the opening.

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?

An output schema exists, so return values need not be re-explained. But for a destructive, open-world code-execution tool built on a non-obvious contract (how to call external_* functions, limits, error behavior), the description offloads the essential contract to "server instructions" instead of making the definition self-sufficient.

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?

Only one parameter, and schema coverage is 100% — the schema already explains that `code` is a TypeScript program body calling external_* functions and returning a result. The description adds "short" as a size qualifier but little else beyond the schema.

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 specific verb and resource ("Run a short TypeScript program") plus the orchestration scope (Uptimely MCP tools discovered via search_tools) and the environment (isolated sandbox). It clearly distinguishes itself from its only sibling by naming search_tools as the discovery mechanism that feeds this tool.

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?

Usage is implied: use search_tools to find tools, then orchestrate them here. However, there is no explicit when-to-use vs. calling tools directly, no exclusions, and the operative guidance is punted to "the server instructions for the full contract" rather than stated here.

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