Skip to main content
Glama

Download a person report as Markdown

export_report_markdown
Read-only

Save a person report as a downloadable .md file and return a link. FREE — it is the same document format: "report" already returns, delivered as a file rather than inline, for saving or filing. Use the inline report when the user just wants to read it; use this when they want to keep it. The link expires after one hour; re-exporting within that window returns the same file and is also free.

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": {
      "searchId": "<searchId>",
      "personId": "<personId>"
    },
    "name": "export_report_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoRendering of the human-readable text channel. "prose" (default) is the full result as a formatted document, every field included; "json" repeats the data verbatim; "report" is a formatted Markdown report to show a person; "html" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way.
personIdYespersonId of the subject to export.
reportIdNoOptional. A Comprehensive Report you own on this person; the export then includes its connected people and every linked record. Used automatically when you own one.
searchIdYessearchId returned by search_person.
idempotencyKeyNoOptional. Pass the same value when retrying a call that may have already succeeded, and you will not be charged twice.

Output Schema

NameRequiredDescriptionDefault
dataYes
displayNo
apiVersionYes
disclaimerYes
limitNoticeNo
balanceNoticeNo
suggestedNextNo
criminalCaveatNo
notConsumerReportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / limitNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "const": "approaching_daily_limit",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "usage": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "criminalSameSubjectPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsUsed": {
      +          "type": "number"
      +        },
      +        "resetAt": {
      +          "type": "string"
      +        },
      +        "sameSubjectPerDay": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "distinctSubjectsUsed",
      +        "distinctSubjectsPerDay",
      +        "sameSubjectPerDay",
      +        "criminalSameSubjectPerDay",
      +        "resetAt"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "usage",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / reportId
      Added value: +{
      +  "description": "Optional. A Comprehensive Report you own on this person; the export then includes its connected people and every linked record. Used automatically when you own one.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / content
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / display
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Rendering of the human-readable text channel. \"prose\" (default) is a compact summary an agent can reason over; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."New value: +"Rendering of the human-readable text channel. \"prose\" (default) is the full result as a formatted document, every field included; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."
  5. Changed14 schema fields changed
    • addedOutput schema / properties / apiVersion
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / balanceNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "balance": {
      +      "type": "number"
      +    },
      +    "code": {
      +      "const": "low_balance",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "searchesLeft": {
      +      "type": "number"
      +    },
      +    "topUpUrl": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "balance",
      +    "searchesLeft",
      +    "topUpUrl",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / criminalCaveat
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "downloadUrl": {
      +      "type": "string"
      +    },
      +    "expiresAt": {
      +      "type": "string"
      +    },
      +    "fileName": {
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "type": "string"
      +    },
      +    "reused": {
      +      "type": "boolean"
      +    },
      +    "sizeBytes": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "downloadUrl",
      +    "expiresAt",
      +    "mimeType",
      +    "fileName",
      +    "sizeBytes",
      +    "reused"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / disclaimer
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / downloadUrl
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / expiresAt
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / fileName
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / mimeType
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / notConsumerReport
      Added value: +{
      +  "const": true,
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / reused
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / sizeBytes
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / suggestedNext
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "credits": {
      +        "type": "number"
      +      },
      +      "prompt": {
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool",
      +      "prompt",
      +      "args",
      +      "credits"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "downloadUrl",
      -  "expiresAt",
      -  "mimeType",
      -  "fileName",
      -  "sizeBytes",
      -  "reused"
      -]New value: +[
      +  "notConsumerReport",
      +  "disclaimer",
      +  "apiVersion",
      +  "data"
      +]
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safe-read profile, but the description adds behavior the agent could not otherwise know: the returned link expires after one hour, re-exporting inside that window returns the identical file, the call is free, and retries are not double-charged. That is exactly the kind of operational context annotations do not carry.

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?

Three sentences, front-loaded with the action and link, then the use-case split, then the expiry caveat — no wasted preamble. The 'FREE' emphasis plus the repeated 'also free' at the end is mildly redundant wording, keeping it just short of perfect.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-required-parameter export tool with full schema coverage, an output schema, and clear annotations, nothing an agent needs to invoke it correctly is missing: action, deliverable, cost, lifetime, and the alternative are all present.

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 the baseline is 3; the description earns a bump by clarifying that the deliverable is the same document `format: "report"` produces, which resolves how this tool's output relates to the format enum. It does not add anything about the optional `reportId` auto-selection or idempotency beyond what the schema already documents.

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 resource — 'Save a person report as a downloadable .md file and return a link' — and explicitly frames it as the file-delivery counterpart of the inline `format: "report"` output. The agent can distinguish it from export_report_pdf and from the inline report without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit decision rule: inline report when the user just wants to read it, this tool when they want to keep it. It also states the re-use rule for the expiry window, so the agent knows repeat calls within an hour are not wasteful.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources