Skip to main content
Glama
Strudel MCP Server

Strudel MCP Server

validate_pattern_local

Validate pattern syntax locally using a sandboxed StrudelEngine child process, with no browser required.

Instructions

Validate pattern syntax against the local StrudelEngine, which runs in a sandboxed child process (no browser required)

Input Schema

NameRequiredDescriptionDefault
patternYesPattern code to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses the execution model (sandboxed child process, no browser), but says nothing about what happens on invalid syntax, whether errors are thrown or returned, side effects, or resource/timeout limits for the spawned process.

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?

A single front-loaded sentence with no filler; the core action comes first and the environment qualifier follows. It is terse to the point of leaving gaps, but no sentence is wasted.

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 one-parameter validation tool with no output schema, the description should at least indicate the shape of a validation result (error list, boolean, line/column info). It instead covers only the execution environment, leaving the agent to discover return semantics by calling it.

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?

There is a single required parameter with 100% schema description coverage ('Pattern code to validate'), so the schema already does the work. The description adds only the word 'syntax,' which slightly narrows the meaning but provides no format or example detail.

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 and resource ('Validate pattern syntax') plus the execution target ('local StrudelEngine'), which implicitly separates it from the sibling validate_pattern_runtime. It does not name that sibling outright, so the differentiation is inferential rather than explicit.

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 parenthetical 'no browser required' hints at when this is preferred (headless/local contexts), but there is no explicit when-to-use, when-not-to-use, or named alternative such as validate_pattern_runtime. The agent must infer the routing decision from the environment note.

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