Skip to main content
Glama

Create a Porter report

create_report

Create a hosted Porter report and get the build instructions to author it.

This is the SLOW path (you build a bundle and upload it: minutes). A NEW report over the user's accounts goes the fast way: draft_report_spec → publish_report_spec(draft_id=…, patch=[…]), live in about a minute with any theme, the free layout, viz nodes for any chart and custom sections. Use this tool only for what the spec cannot express, or a self-contained report (below).

A report is a full front-end project you build against a data simulator and ship. Provide a name — it is the only human label Porter stores, so put the identifying text there. description is NOT persisted (the result says so in warnings). Optionally a template (the starter to build from), and the report's data allowlist — accounts_used (the accounts its charts may query, each just the account_id from list_accounts — the ref is expanded to the full account automatically) and connectors_used (defaults to the accounts' connectors). These may be passed top-level or nested inside pages — both are honored. Returns the new report_id, its public url, and edit_hints — the authoring brief and build/upload instructions to fill the report with charts (then finalize with edit_report).

Omit both when the report is SELF-CONTAINED — its data was gathered while building and is frozen into the bundle, so it queries nothing when viewed (e.g. a competitor teardown built from public sources, which has no Porter account behind it).

Sharing: a report is born PRIVATE to its owner. When it is built for a team or a client, share it here instead of with a later share_report call — share_with_domain=True opens it to everyone signed in with the owner's email domain (refused for public providers such as gmail.com), and allowed_emails names people one by one.

params stores the values that name ONE client — its name, logo, campaign, budgets — on the report instead of in the build. The report reads them with useReportParams(defaults), so duplicate_report can later make the same report for another client without a rebuild. Anyone who can open the report can read them, so nothing its viewers should not see.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
pagesNo
paramsNo
templateNo
descriptionNo
accounts_usedNo
allowed_emailsNo
connectors_usedNo
share_with_domainNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: build time (minutes), that description is NOT persisted and surfaces in warnings, that reports are born private, that share_with_domain is refused for public providers like gmail.com, and that params are readable by anyone who can open the report. The only notable gap is upload/bundle failure behavior, though the slow-path framing and edit_hints pointer cover most of it.

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?

Dense but every section earns its place, and the slow-path warning is front-loaded ahead of parameter detail. Structure drifts slightly as the self-contained paragraph interrupts the parameter discussion and params semantics are deferred to the final paragraph, but paragraph breaks keep it navigable.

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?

Very complete for a 9-param mutation tool: it explains the required field, the optional allowlist, sharing, and the params mechanism, and it names the returned report_id, url and edit_hints even though an output schema exists. Only bundle-build failure modes and preview/verification steps are left implicit.

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

Parameters5/5

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

With 0% schema description coverage the description carries the full burden, and it does: name is the only persisted human label, description is non-persisted, template is a starter, accounts_used takes account_id refs expanded to full accounts, connectors_used defaults to the accounts' connectors, pages may hold the same fields top-level or nested, params is read via useReportParams to enable duplicate_report, and the two sharing params are explained with their domain restriction.

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+resource ("Create a hosted Porter report and get the build instructions to author it") and immediately distinguishes itself from the spec-based path (draft_report_spec → publish_report_spec). An agent can tell exactly which creation route this is without opening the 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 frames itself as "the SLOW path (minutes)" versus the fast spec path, and gives a hard rule for selection: "Use this tool only for what the spec cannot express, or a self-contained report." It also names the downstream step (finalize with edit_report) and the case to omit data config entirely.

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