Skip to main content
Glama
HullForge MCP Connector

HullForge MCP Connector

by jigwright

Batch

hf_batch

Runs multiple HullForge read and write calls in one ordered request, with loops and conditions; stops at the first failure and compiles touched Blueprints and C++ files.

Instructions

Run several HullForge read and write calls in ONE request, in order: the usual way to build something. A tool step is {tool, args, as?, select?}: 'as' names its result so a later argument can use "$name.field" (a whole-string reference keeps the value's type), 'select' keeps only the listed fields. Control steps: {foreach: <list or $ref>, as, do: [steps]}, {if: , then: [steps], else: [steps]}, {assert: , message}; a cond is {left, op, right} with op ==, !=, <, <=, >, >=, contains, not_contains, exists, empty or not_empty. 'return' (top level) sends back only that value instead of every step's result. Stops at the first failure and reports it in full; earlier steps stay applied, so give 'checkpoint' to be able to roll back. Afterwards it compiles every Blueprint and C++ file the steps touched and reports errors, and saves if 'save' is true. At most 200 tool steps. Destroying tools are refused: use hf_destroy.

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": {
      "steps": "<steps>"
    },
    "name": "hf_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNohf_save_all after the steps succeed.
stepsYesTool steps and control steps, as described above.
returnNoOptional. A value or $name.field reference to return instead of every step's result.
compileNoCompile the Blueprints and C++ files the steps touched and report errors.
verboseNoReturn the full report (what was and was not checked, touched packages). By default a success comes back short; a failure always comes back in full.
checkpointNoOptional. Set a checkpoint with this label before the first step.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safety profile (non-readonly, non-destructive, non-idempotent), while the description supplies the behavior an agent actually needs: it stops at the first failure with a full report, earlier steps stay applied, a 'checkpoint' label enables rollback, a post-run compile of touched Blueprints/C++ occurs, and saving only happens when 'save' is true. These are non-obvious, high-consequence traits that no structured field conveys.

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?

The purpose is front-loaded in the first clause, and the dense semicolon-chained sentences carry a large amount of DSL information with little waste. It is efficient, but the run-on structure and mid-sentence jargon make it harder to scan than a short bulleted breakdown would be.

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?

For a complex orchestrator with an output schema and annotations already covering the safety profile, the description covers failure semantics, rollback, post-run compilation, and the refusal of destructive steps — everything an agent needs to invoke it safely. One accuracy gap remains: it says "At most 200 tool steps" while the schema caps 'steps' at maxItems 60, leaving the real limit ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes well beyond the schema for the dominant 'steps' parameter: it defines the {tool, args, as?, select?} step shape, the "$name.field" reference convention and its type-preservation rule, the foreach/if/assert control steps, and the full operator set for conditions. The schema entry for 'steps' is only a pointer ("as described above"), so this text is doing the real semantic work.

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?

"Run several HullForge read and write calls in ONE request, in order" names the specific verb (batch execution of tool calls) and the resource (HullForge calls), and the closing line "Destroying tools are refused: use hf_destroy" separates it from the sibling that handles destructive operations. An agent can immediately tell this is a composite executor rather than a single mutation tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a positive usage context ("the usual way to build something") and an explicit exclusion with the named alternative ("Destroying tools are refused: use hf_destroy"). What is missing is any guidance on when NOT to batch at all — e.g. when a single sibling call would suffice or when step count/complexity makes batching a poor fit — so it falls short of a full when/when-not/alternatives treatment.

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

Deploy Server

Other Tools