Skip to main content
Glama

PDF Report Studio export

report_studio_export
Destructive

Create a birth chart PDF with the reader's own reading and return a private download link.

Call after the reader requests a PDF and sees report_studio_quote. If the quote costs credits, ask the reader before setting spend_credit true. The PDF is delivered as a private link valid for ten minutes. A report bought with a credit can be redrawn from the account page.

Returns: The private PDF link, expiry and actual credit charge.

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": {
      "quote_id": "<quote_id>",
      "quoted_cost": "<quoted_cost>",
      "spend_credit": "<spend_credit>"
    },
    "name": "report_studio_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoThe language of the names in the answer: en for English or tr for Turkish.en
birthNoThe birth: its date (YYYY-MM-DD), its local time (HH:MM) when it is known, its latitude and longitude in degrees, north and east positive, and its IANA time zone, such as Europe/Istanbul. Leave the time out when it is unknown. Leave the whole birth out to use a person saved on the account instead: the one named in person, or else the account's selected person.
personNoThe name of a person saved on the account, such as Ayşe, as list_people lists it, used when birth is left out. Left out too, the account's selected person is used.
wantedNoOptional names of bodies on the wheel. This selection needs a plan with extended bodies. Leave out to use the account's saved wheel layout when available.
optionsNoThe PDF Studio settings. Choose and order sections, title, author, custom_text, accent, theme, page_size, white_label, logo_b64 and watermark. Use report_studio_setup for choices. A custom reading needs the custom section. In custom_text, # and ## make headings, ** and * mark bold and italic, and - starts a bullet. Links, images, HTML and code print as plain text. White-label and a custom logo require Pro or above.
quote_idYesThe quote_id from report_studio_quote for this exact birth and complete report settings.
grid_scopeNoWhich bodies the aspect grid includes: chart or core.chart
quoted_costYesThe credit cost shown by report_studio_quote and accepted by the reader.
spend_creditYesTrue only after the reader agrees to spend the quoted credits. False for a zero-cost export.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / options / description
      Previous value: -"The PDF Studio settings. Choose and order sections, title, author, custom_text, accent, theme, page_size, white_label, logo_b64 and watermark. Use report_studio_setup for choices. A custom reading needs the custom section. White-label and a custom logo require Pro or above."New value: +"The PDF Studio settings. Choose and order sections, title, author, custom_text, accent, theme, page_size, white_label, logo_b64 and watermark. Use report_studio_setup for choices. A custom reading needs the custom section. In custom_text, # and ## make headings, ** and * mark bold and italic, and - starts a bullet. Links, images, HTML and code print as plain text. White-label and a custom logo require Pro or above."
  2. Changed3 schema fields changed
    • changedInput schema / $defs / ReportOptions / description
      Previous value: -"The layout, texts, and branding a PDF report is drawn with, shared by the studio and the API export.\n\n``white_label`` and ``logo_b64`` need the ``WHITE_LABEL`` scope. Their\ndescriptions name the plan that grants it, read from\n``TierConstants.FIRST_WITH``, so the published schema and the pricing\npage agree. A request without the scope is refused with a 403.\n\nAttributes:\n    sections: The sections in the order to draw them, each once. Empty\n        or omitted draws ``ReportConstants.DEFAULT_ORDER``.\n    page_size: The paper.\n    title: The cover's and the report's title.\n    author: The signature.\n    custom_text: The author's own reading, in Markdown.\n    accent: The accent colour as ``#RRGGBB``, or empty for the default one.\n    white_label: Whether to leave AstroMansion's branding out.\n    logo_b64: The brand's logo in base64 or as a data URI, or empty for none.\n    watermark: Whether the wheel shows its faint centre brand. White-label hides it too."New value: +"The layout, texts, and branding a PDF report is drawn with, shared by the studio and the API export.\n\n``white_label`` and ``logo_b64`` need the ``WHITE_LABEL`` scope. Their\ndescriptions name the plan that grants it, read from\n``TierConstants.FIRST_WITH``, so the published schema and the pricing\npage agree. A request without the scope is refused with a 403.\n\nAttributes:\n    sections: The sections in the order to draw them, each once. Empty\n        or omitted draws ``ReportConstants.DEFAULT_ORDER``.\n    page_size: The paper.\n    theme: The light or dark palette used by the PDF and its wheel.\n    title: The cover's and the report's title.\n    author: The signature.\n    custom_text: The author's own reading, in Markdown.\n    accent: The accent colour as ``#RRGGBB``, or empty for the default one.\n    white_label: Whether to leave AstroMansion's branding out.\n    logo_b64: The brand's logo in base64 or as a data URI, or empty for none.\n    watermark: Whether the wheel shows its faint centre brand. White-label hides it too."
    • addedInput schema / $defs / ReportOptions / properties / theme
      Added value: +{
      +  "$ref": "#/$defs/Theme",
      +  "default": "light"
      +}
    • addedInput schema / $defs / Theme
      Added value: +{
      +  "description": "A palette: the page's colour scheme, and the one a wheel is drawn in to match it.\n\nAttributes:\n    LIGHT: Dark lines and text on a light ground.\n    DARK: Light lines and text on a dark ground.",
      +  "enum": [
      +    "light",
      +    "dark"
      +  ],
      +  "title": "Theme",
      +  "type": "string"
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag a destructive, non-read-only, non-idempotent mutation, so the description's job is to add operational detail — and it does: the link is private and valid ten minutes, credits are actually charged, and a credit-bought report can be re-downloaded from the account page later. It does not warn that a repeat call spends credits again, which is the key risk implied by idempotentHint=false.

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 short front-loaded sentences plus a labelled Returns block, with the prerequisite and the consent gate ahead of the delivery detail. No padding or repetition of 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?

For a 9-parameter, credit-spending export with an output schema already covering return values, the description covers the prerequisite chain, consent requirement, link lifetime and re-download path. It leaves unaddressed what happens when a quote is stale or mismatched with the supplied birth/settings, which is the main failure mode for this 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 every parameter is already documented in structured data and the baseline is 3. The description adds only light semantics on top: quote_id must come from report_studio_quote for the exact birth and complete settings, and spend_credit requires the reader's agreement. It says nothing about the consent/charging interaction of quoted_cost versus spend_credit beyond that.

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 first sentence names a specific verb, resource and deliverable: create a birth chart PDF incorporating the reader's own reading, and return a private download link. That is far more than a restatement of the name. It stops short of distinguishing itself from the designer_export_free / designer_export_paid siblings, which also appear to be export tools.

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?

It states a clear precondition sequence (call only after the reader requests a PDF and has seen report_studio_quote) and a consent gate (ask before setting spend_credit true when the quote costs credits). It also notes the zero-cost case and points to report_studio_setup for option choices. It gives no explicit exclusion against the designer_export_* alternatives, so it stops at 4.

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