Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

simplicity_compile_file

Compiles a .simf file into a Simplicity program using the simc compiler. Provide the file path to generate the Simplicity output needed for deployment on Liquid.

Instructions

Compile a .simf file to Simplicity program using simc compiler

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": {
      "file_path": "<file_path>"
    },
    "name": "simplicity_compile_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesPath to .simf file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only says a compilation happens via simc. It does not disclose what is returned (compiled program, file path, or status), whether the simc toolchain must already be installed, or how compile failures are surfaced.

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 wasted wording. It is tightly sized for a one-parameter tool, though the phrase 'to Simplicity program' is slightly awkward and could be sharper.

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 simple one-parameter tool this is close to sufficient, but with no output schema and no annotations the description should say at least what a successful compile yields and whether it depends on external toolchain setup. Those gaps keep it at a minimum-viable level.

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?

The single parameter has 100% schema description coverage ('Path to .simf file'), so the schema already does the work. The description adds nothing beyond it about path format, relative vs absolute paths, or extension requirements; a 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 and resource ('Compile a .simf file') and names the underlying compiler (simc), which makes the operation concrete. The word 'file' implicitly separates it from the sibling simplicity_compile_source, though the contrast is never made 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?

Usage is only implied by the input type: use this when you have a .simf file on disk rather than source text. There is no explicit statement of when to prefer it over simplicity_compile_source, no prerequisites (e.g., whether simc must be installed first), and no exclusions.

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