Skip to main content
Glama

Export Shortlist or Audit Report (Markdown / CSV)

export_report
Read-onlyIdempotent

Render a formula-safe CSV or GitHub-flavored Markdown report of a buyer shortlist or seller AI-discoverability audit history, returned as read-only tool output without writing files.

Instructions

Render a clean, spreadsheet-formula-safe CSV or GitHub-flavored Markdown report for either a saved buyer shortlist ('shortlist', requires projectId) or seller AI-discoverability audit history ('audit_snapshots', optional sellerUsername/query filters). Read-only: returns formatted text directly as tool output without writing files to disk.

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

Input Schema

NameRequiredDescriptionDefault
queryNoOptional exact search query filter when reportType is 'audit_snapshots'
formatNoOutput format: 'markdown' (GitHub-flavored table, default) or 'csv' (formula-safe RFC-4180 CSV)markdown
projectIdNoProject slug/identifier. Required when reportType is 'shortlist'.
reportTypeYesDataset to export: 'shortlist' (buyer candidate comparison matrix) or 'audit_snapshots' (seller audit history table)
statusFilterNoOptional shortlist status filter ('shortlisted', 'contacted', 'hired', 'rejected') when reportType is 'shortlist'
sellerUsernameNoOptional seller username filter when reportType is 'audit_snapshots'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • addedInput schema / properties / format / description
      Added value: +"Output format: 'markdown' (GitHub-flavored table, default) or 'csv' (formula-safe RFC-4180 CSV)"
    • changedInput schema / properties / projectId / description
      Previous value: -"Required when reportType is 'shortlist'"New value: +"Project slug/identifier. Required when reportType is 'shortlist'."
    • changedInput schema / properties / query / description
      Previous value: -"Optional query filter when reportType is 'audit_snapshots'"New value: +"Optional exact search query filter when reportType is 'audit_snapshots'"
    • addedInput schema / properties / reportType / description
      Added value: +"Dataset to export: 'shortlist' (buyer candidate comparison matrix) or 'audit_snapshots' (seller audit history table)"
    • changedInput schema / properties / sellerUsername / description
      Previous value: -"Optional filter when reportType is 'audit_snapshots'"New value: +"Optional seller username filter when reportType is 'audit_snapshots'"
    • addedInput schema / properties / statusFilter / description
      Added value: +"Optional shortlist status filter ('shortlisted', 'contacted', 'hired', 'rejected') when reportType is 'shortlist'"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false; the description still adds real context beyond them: CSV output is formula-safe (injection-hardened), output is returned as text in the tool result, and nothing is written to disk. It does not mention size limits, row caps, or behavior for very large audit histories.

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?

Two sentences, front-loaded with the verb and artifact types, with zero filler. The first sentence is long and nests three parentheticals, which costs a little readability but every clause carries information.

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?

With no output schema, the description still conveys the shape of the result (GFM table vs RFC-4180 CSV, returned as text) and enumerates the conditional parameters for both branches. It does not describe what columns or fields appear in each report, which an agent might want before choosing reportType.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds the cross-parameter dependency model — projectId required only for the shortlist branch, sellerUsername/query only meaningful for audit_snapshots — which is the key invocation risk. It does not add value formats or examples beyond what the schema already declares.

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 concrete verb and deliverable: 'Render a clean, spreadsheet-formula-safe CSV or GitHub-flavored Markdown report', and enumerates both dataset branches by name ('shortlist', 'audit_snapshots') with their governing parameter. The read-only, text-output framing separates it from mutation-oriented siblings like manage_shortlist or record_audit_snapshot without ambiguity.

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?

Gives per-branch selection guidance inline: 'shortlist' requires projectId, while 'audit_snapshots' takes optional sellerUsername/query filters, and statusFilter is scoped to the shortlist branch. It does not explicitly exclude alternatives or say when to prefer reading the data via another tool, so it stops 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.