Skip to main content
Glama

Get a Porter report's metadata

get_report
Read-only

Read a report's metadata + structure (and, for a built report, a link to download its project). Fast — it does NOT run the report.

Returns the report's report_id, name, health (OK | DEGRADED | BROKEN | UNKNOWN — UNKNOWN is no health signal yet (it never ran or published a version), NOT healthy. Only preview_report proves the charts actually render; an account the report uses that is no longer active in Porter lowers it to DEGRADED, or BROKEN when all are, and is named in disconnected_accounts with a reconnect hint), status, public url and updated_at, its pages (each {page_id, name}), its account_slots (each labeled account: {label, account_id, account_name, connector}), params (the values that name its client) and reads_params (whether the report reads those params at all: false means a copy keeps this client's brand; null, not audited since it was recorded) — what duplicate_report re-points for a copy on another account —, the bundle_manifest (the report's file/version index) and a signed download_url (+ download_expires_at). A report published with publish_report_spec is changed with publish_report_spec(report_id=…, patch=[…]). To change a built (zip) report (or fix a duplicate): POST download_url from your code-execution tool to fetch its project zip, unzip, edit, next build, then re-upload via edit_report's upload_url. To debug a broken chart: preview_report.

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": {
      "report_id": "<report_id>"
    },
    "name": "get_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it states the call does not execute the report, explains that UNKNOWN means no health signal yet rather than healthy, describes how inactive accounts degrade health to DEGRADED/BROKEN and surface in disconnected_accounts, and notes the download URL is signed and expiring. The only shortfall is that it doesn't say what happens when report_id is invalid or unknown.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The front-loaded first sentence is strong, but the body collapses into one enormous parenthetical chain with nested parentheses and em-dashes that is hard to parse. Much of the health-state and field enumeration duplicates what the output schema and the annotations already convey, so several clauses do not earn their length.

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?

Given a single-param tool with an output schema, the definition is more than complete: it documents return fields, health semantics, and remediation workflows for follow-on actions. Slight redundancy with the output schema and the missing guidance on sourcing report_id keep it from a 5.

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?

Only one parameter (report_id) at 0% schema coverage, so the description must carry the burden. It reuses report_id in the publish_report_spec example, showing it is the same identifier used elsewhere, but never states the ID's format or where to obtain it (e.g., list_reports) — a real gap against low schema coverage.

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?

Opens with a specific verb+resource ("Read a report's metadata + structure") and immediately scopes it with "it does NOT run the report," which separates it from preview_report. An agent can distinguish this from edit_report, duplicate_report, and publish_report_spec 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?

Explicitly routes: spec-published reports are changed via publish_report_spec(patch=…), built zip reports via the download_url → unzip → next build → edit_report(upload_url) workflow, and broken charts via preview_report. It names alternatives and the conditions that select them, so no inference is required.

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