Skip to main content
Glama

edict_debug

Debug Edict programs by executing with call-stack tracing to identify runtime failures. Returns structured crash diagnostics including crash location and call stack for targeted fixes.

Instructions

Execute an Edict program with debug instrumentation. Compiles the AST with call-stack tracing, runs it, and returns structured crash diagnostics including call stack at crash time, crash location with nodeId, and step count. Use this instead of edict_compile + edict_run when debugging runtime failures — the crash location and call stack enable targeted fixes without guessing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
astYesThe Edict program AST (module) to debug — same format as edict_compile
optionsNoOptional debug execution options
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it describes what the tool does (compiles with call-stack tracing, runs with instrumentation), what it returns (structured crash diagnostics including call stack, crash location, step count), and resource constraints (implied through 'maxSteps' parameter description). It doesn't mention permissions, rate limits, or side effects, but covers core execution behavior adequately.

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 efficiently structured in two sentences: the first explains what the tool does and returns, the second provides usage guidance. Every sentence adds value—no wasted words—and it's front-loaded with the core functionality.

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 the tool's complexity (debug execution with instrumentation) and lack of annotations/output schema, the description does well to explain the tool's behavior, return values, and usage context. It could potentially mention error handling or output format details, but it covers the essential aspects for a debugging tool adequately.

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 schema already documents both parameters thoroughly. The description adds minimal parameter semantics beyond the schema—it mentions 'same format as edict_compile' for the AST parameter, which provides useful context, but doesn't elaborate on the 'options' object. This meets the baseline expectation when schema coverage is high.

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 tool's purpose with specific verbs ('execute', 'compiles', 'runs', 'returns') and resources ('Edict program with debug instrumentation', 'structured crash diagnostics'). It explicitly distinguishes from siblings by naming 'edict_compile + edict_run' and stating when to use this alternative.

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?

The description provides explicit guidance on when to use this tool ('when debugging runtime failures') and when not to use alternatives ('Use this instead of edict_compile + edict_run'). It also explains the benefit ('enables targeted fixes without guessing'), giving clear context for selection.

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/Sowiedu/Edict'

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