Skip to main content
Glama

export_report

Idempotent

Writes a markdown audit report with a summary table and every teaching card for all findings, saving it to the repo's artifact directory or a custom .md path and returning the file path and finding count.

Instructions

Write a markdown audit report (summary table + every teaching card) for all findings. Default location is the repo's RepoFlow artifact dir; a custom path must be inside the workspace and end in .md. Returns the file path and finding count.

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": {
      "repo": "<repo>"
    },
    "name": "export_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
repoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a write (readOnlyHint=false) that is idempotent and non-destructive; the description adds real context beyond that: default write location, a sandboxing rule (custom path must be inside the workspace), a filename rule (.md), and the return values. It does not say whether an existing file at the path is overwritten, which is the main remaining unknown for a write tool.

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?

Three sentences, front-loaded with the action and output, then constraints, then return values. Every clause carries information; nothing is padded or restated from the schema.

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?

No output schema exists, so the description usefully names the return values (file path and finding count) and covers the salient write constraints. Adequate for a two-parameter export tool; only the "repo" parameter and overwrite behavior are left implicit.

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% and the schema only supplies bare names (path, repo) with a null default. The description compensates well for "path" (default artifact dir, must be inside workspace, .md extension) but says nothing about "repo" — whether it scopes the findings, targets a repo registered with RepoFlow, or something else. Partial compensation earns the baseline.

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 artifact: "Write a markdown audit report (summary table + every teaching card) for all findings." The parenthetical describes the output shape, and "for all findings" implicitly separates it from single-finding siblings like get_finding/explain_finding. It stops short of naming an alternative explicitly.

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?

No sentence states when to use this versus list_findings, get_finding, or explain_finding. Usage is only implied (you export after findings exist). The path constraints are clear, but there is no when/when-not guidance or ordering advice relative to siblings.

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