Skip to main content
Glama
hilvana-mcp

hilvana-mcp

Official

Validate and explain a recipe

recipe_plan
Read-only

Preview a document recipe before running it: validates the schema, file names, page ranges and destructive steps against the actual files, then returns plain-language steps to show the user for approval.

Instructions

Checks a recipe against the actual files without changing anything: schema, file names, page ranges after each step, and which steps are destructive. Returns the steps in plain language to show the user before running.

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": {
      "files": "<files>"
    },
    "name": "recipe_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
eachNoApply the recipe to each PDF/Word input separately (a batch). Other inputs, like a signature image, are shared. The recipe must not name documents. Results go to the output folder.
langNoLanguage for the step descriptions and messages.
filesYes
savedNoNot available: no saved recipes folder is configured.
engineNoWord engine. native: built-in; libreoffice: local LibreOffice install; auto (default): built-in, falling back to LibreOffice if content had to be dropped. All local.
recipeNoA Hilvana recipe object (see resource hilvana://recipe-schema). Example: {"version":1,"steps":[{"op":"merge"},{"op":"sign","image":"firma.png"}],"goals":{"maxBytes":2000000}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with "without changing anything." It adds genuine behavioral context beyond the annotations by listing the four validation categories and stating that the output is plain-language steps intended for user display, though it says nothing about failure modes or how errors are reported.

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?

Two sentences, both front-loaded with the operation and then the return behavior, with no filler. Every clause contributes either scope or intent.

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 six-parameter tool with a nested free-form recipe object and no output schema, the description does the important work: it explains what is checked and that the return value is human-readable steps. Details such as batch semantics via `each` or engine fallback are left to the schema descriptions, which is acceptable given their 83% coverage.

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?

With schema description coverage at 83%, the schema already documents files, each, lang, engine, and saved. The description only implies the files parameter ("against the actual files") and adds nothing about the batch flag, the language switch, or engine selection, so it meets but does not exceed the baseline.

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 names a specific verb and resource ("Checks a recipe") and enumerates exactly what is validated: schema, file names, page ranges after each step, and destructive steps. The clause "without changing anything" and "before running" clearly separate it from the execution sibling recipe_run.

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?

Usage is clearly implied by "to show the user before running," which tells the agent this is the pre-flight step ahead of recipe_run. It lacks an explicit negative case or a named alternative, so it falls short of a full when/when-not statement.

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