Skip to main content
Glama

fv_generate_report

Generates a standardized formal verification sign-off Markdown report from recorded run IDs, auto-filling results tables, file hashes, cover depth, and mutation summaries.

Instructions

Generate a standardized Formal Verification Sign-off Markdown report. Pass run_ids (returned by fv_run_sby / fv_prove_per_property / fv_run_sec_* / fv_check_mutation) so the results table, input file SHA-256 hashes, cover depth, and mutation summary are filled in by the server from its own records of those runs instead of being typed by the caller. Limits of that binding: the records live only in this server process (gone after a restart, so the report cannot be re-checked later), the returned Markdown is plain text that can be edited afterwards, and only the runs you list appear — list EVERY run on the same inputs, including failed ones. It makes an honest report easy; it does not make a dishonest one impossible. Pass property_sources (e.g. {"a_no_overflow": "spec:FIFO-REQ-01", "h_cnt_bound": "impl"}) to separately track specification-anchored vs implementation-derived properties. Pass evidence_dir ONLY if you explicitly want to archive JSON snapshots & traces to disk (default None leaves zero local log files). cleanup_temp_traces defaults to False so report generation never silently deletes counterexample evidence.

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": {
      "module_name": "<module_name>",
      "frontend": "<frontend>",
      "proof_type": "<proof_type>",
      "bridging_status": "<bridging_status>",
      "parameters_used": "<parameters_used>",
      "production_extrapolation": "<production_extrapolation>",
      "assumptions": "<assumptions>"
    },
    "name": "fv_generate_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idsNo
frontendYes
cutpointsNo
proof_typeYes
assumptionsYes
module_nameYes
evidence_dirNo
formal_modelsNo
results_tableNo
cover_max_stepNo
bridging_statusYes
parameters_usedYes
mutation_summaryNo
property_sourcesNo
cleanup_temp_tracesNo
production_extrapolationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that bound records live only in this server process and are gone after a restart, that the Markdown output is editable plain text, that only listed runs appear, that `evidence_dir` defaults to None leaving zero local log files, and that `cleanup_temp_traces` defaults to False so counterexample evidence is never silently deleted. These are exactly the side-effect, persistence, and integrity traits an agent needs before invoking a tool that writes files.

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?

Front-loaded with the purpose, then organized parameter-by-parameter, and each sentence carries content (defaults, examples, limits). The 'It makes an honest report easy; it does not make a dishonest one impossible' line is slightly rhetorical but conveys a genuine integrity limit, so it earns its place.

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?

An output schema exists, so return values need no explanation, and the behavioral side effects are covered thoroughly. Against 16 parameters and 7 required fields with zero schema documentation, however, the description leaves the agent guessing what to put in the required sign-off fields (`bridging_status`, `production_extrapolation`, `parameters_used`, `cutpoints`), which is a meaningful omission for a high-stakes report generator.

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 coverage is 0%, so the description is the only source of parameter meaning, and it explains roughly half: `run_ids` (with the server-side binding), `property_sources` (with a concrete example of spec- vs impl-anchored entries), `evidence_dir`, `cleanup_temp_traces`, and indirectly `results_table`/`cover_max_step`/`mutation_summary` as server-filled. The other nine parameters, including all the required ones (`bridging_status`, `production_extrapolation`, `assumptions`, `parameters_used`), get no explanation at all, which is a real gap for a sign-off artifact.

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?

States a specific verb and artifact: 'Generate a standardized Formal Verification Sign-off Markdown report.' It is immediately distinguishable from the sibling tools, which run proofs or checks, while this one only assembles a report from their run IDs.

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?

Explicitly routes the agent: pass `run_ids` 'returned by fv_run_sby / fv_prove_per_property / fv_run_sec_* / fv_check_mutation', and pass `evidence_dir` 'ONLY if you explicitly want to archive JSON snapshots'. It also gives a completeness rule ('list EVERY run on the same inputs, including failed ones'). What it lacks is a plain statement of the workflow position (e.g. 'call after verification is complete') and any when-not condition.

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