Skip to main content
Glama

Download a person report as PDF

export_report_pdf

Render a person report as a PDF and return a download link. Costs 1 credit. The document carries the same fields as the inline report — identity, match confidence, phones with carrier and DNC status, household and addresses — plus the compliance notice inside the file, because a PDF someone saves has no conversation attached to it. The link expires after one hour; re-exporting the same person within that window returns the same file and is NOT charged again.

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_pdf"
  }
}

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. Changed1 schema field changed
    • 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. Changed16 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"
      +}
    • removedOutput schema / properties / creditsCharged
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / criminalCaveat
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "creditsCharged": {
      +      "type": "number"
      +    },
      +    "downloadUrl": {
      +      "type": "string"
      +    },
      +    "expiresAt": {
      +      "type": "string"
      +    },
      +    "fileName": {
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "type": "string"
      +    },
      +    "newBalance": {
      +      "type": "number"
      +    },
      +    "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"
      -}
    • removedOutput schema / properties / newBalance
      Removed value: -{
      -  "type": "number"
      -}
    • 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

A3.7/5.0
Behavior4/5

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

With annotations present, the description still adds real behavioral context the annotations do not: a 1-credit cost, a one-hour link expiry, and a caching rule that re-exporting the same person inside the window returns the same file without a second charge. The contents paragraph explains the compliance notice is embedded because a saved PDF has no conversation attached, which is genuinely useful reasoning. Minor gap: it does not say what happens when the link has expired or how billing interacts with a failed render.

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 purpose and cost, then contents, then the expiry/idempotency rule — a sensible ordering with little waste. The middle sentence listing fields is the longest and least essential part, since the output schema already covers return content, but it earns partial credit by motivating the embedded compliance notice.

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?

An output schema exists, so return values need no explanation, and the description covers the things structured fields cannot: billing, expiry, cache behavior, and why the compliance notice ships inside the file. The remaining gap is the format parameter's interaction with a PDF export, which is left unexplained for a five-parameter tool.

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 100%, so the schema already documents searchId, personId, reportId, idempotencyKey and the format enum in detail. The description adds only indirect meaning: the idempotency/re-charge rule reinforces idempotencyKey, and the field list hints at reportId's connected-people expansion. It says nothing about the format parameter, which is odd on a PDF-specific tool where format=html also produces a PDF-ready document.

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?

The description opens with a specific verb+resource: "Render a person report as a PDF and return a download link." That is far more than a restatement of the name and makes the output shape obvious. It stops short of a 5 because it never names the closest sibling (export_report_markdown) or states the PDF-vs-Markdown distinction, so differentiation rests on the title alone.

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?

Usage context is implied rather than stated: the credit cost and the one-hour link expiry tell an agent this is for deliverables a human will save, but there is no explicit "use this when... / use export_report_markdown when..." routing. Nothing tells the agent whether a Comprehensive Report path (reportId) is preferred or how this relates to comprehensive_report.

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