Skip to main content
Glama

report_export

Read-only

Export the canonical JSON report of a scan run for sharing or auditing data quality findings. Read-only; requires scan_run_id.

Instructions

Export the canonical JSON report of a scan run (same payload as CLI report export --as json / REST GET /scans/{id}/report; D1-06 capability parity). Read-only.

Input Schema

NameRequiredDescriptionDefault
scan_run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, so the safety profile is covered. The description adds genuine context: the payload is the canonical JSON report and is byte-equivalent to the CLI and REST paths. It omits size/rate-limit or auth details, but that is a minor gap given annotation coverage.

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?

One dense front-loaded sentence plus a short 'Read-only.' clause; no filler. The trailing read-only note duplicates the annotation, costing a small amount of precision but not clarity.

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?

There is no output schema, and the description adequately characterizes the return as the canonical JSON report with parity to the CLI/REST payloads. For a one-parameter export tool this is close to complete, with only the parameter format left unspecified.

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 description coverage is 0% for the single scan_run_id parameter (no type/format note in the schema). The description partially compensates by indicating the report belongs to 'a scan run', implying the ID identifies a scan, but gives no format or source guidance for the value.

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 (Export) and resource (canonical JSON report of a scan run), plus anchors it to known equivalents (CLI `report export --as json`, REST `GET /scans/{id}/report`). No sibling tool produces a report, so the purpose is unambiguous and distinguishable.

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?

The description implies the use case (fetching the canonical report payload) but never states when to choose this over siblings like list_issues, quality_score, or contract_validate, nor any prerequisites. Usage is inferable but not guided.

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