Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

simplicity_validate_syntax

Validate SimplicityHL source code syntax before compiling, returning helpful error messages so you can catch mistakes early.

Instructions

Validate SimplicityHL source code syntax before compiling, with helpful error messages

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source": "<source>"
    },
    "name": "simplicity_validate_syntax"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSimplicityHL source code to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.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, the description must carry the full behavioral burden; it does signal that this is a check-only step ('before compiling') and that it returns helpful error messages, which implies a non-mutating diagnostic call. It does not state explicitly that nothing is compiled or written, nor describe the error payload shape, so key behavioral facts are left implied.

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?

One front-loaded sentence with no filler, leading with the action and following with the workflow cue. The trailing 'with helpful error messages' is mildly promotional but still informative about output.

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, no-output-schema validation tool this is close to adequate, and the mention of error messages partially covers the return side. Still missing is any statement of what a successful result looks like or how failures are surfaced, which an agent needs given there is no output schema to consult.

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% for the single 'source' parameter, so the schema already explains it fully. The description adds only the language qualification (SimplicityHL) and no format, size, or encoding constraints, which is the expected baseline when the schema does the heavy lifting.

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?

The description names a specific verb (validate) and a specific resource (SimplicityHL source code syntax), and scopes it as a pre-compilation step. It does not, however, distinguish itself from the sibling 'simplicity_validate' or explain how it differs from the compile tools, so an agent still has to guess between near-neighbors.

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?

'before compiling' implies a workflow position, which is a useful hint about when to reach for it. But there is no explicit when-not guidance, no statement about whether it is a substitute for or prerequisite to 'simplicity_validate'/'simplicity_compile_source', and no mention of what to do on failure beyond reading the errors.

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