Skip to main content
Glama

Share a Porter report

share_report

Share a report — by public link, by granting people a role, by email, or hand it over to another company.

method:

  • link — make the report publicly viewable; returns its shareable share_url/magic_link.

  • access — grant every address in recipients a role on the report WITHOUT emailing (silent share). role is viewer (read only), editor (edit + rename) or admin (also share / schedule / delete). Existing grants are preserved (this adds to them). Pass revoke=true to instead remove recipients from every role. To LOWER someone's role, revoke them first, then grant the new one.

  • email — grant recipients the role (default viewer, so a PRIVATE report opens for them) AND email them the link now (with a PDF when enabled); pass optional subject/message. Response reports sent_to.

  • transfer — move the report (owner + company) into company_id, a company where you are owner or admin. Same id and URL. Use it when the report lives in the wrong company — e.g. it must be served on a client's custom domain, which only serves reports of the domain's company. Only the report's OWNER can transfer. new_owner_email defaults to that company's owner (pass it only to pick yourself or another owner there). The previous owner stays on the report as admin; their email schedules for it are removed (recreate them after). Response: owner_email, company_id, previous_owner_email, previous_company_id, schedules_removed, warnings.

Optionally set visibility (PRIVATE | LINK_PUBLIC), share_with_company or share_with_domain alongside an access/email grant — or ON THEIR OWN: call method="access" with NO recipients and just a visibility (e.g. make a report PRIVATE again) to change the report-level sharing without touching anyone's role. Owner or admin only.

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>",
      "method": "<method>"
    },
    "name": "share_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoviewer
methodYes
revokeNo
messageNo
subjectNo
report_idYes
company_idNo
recipientsNo
visibilityNo
new_owner_emailNo
share_with_domainNo
share_with_companyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With annotations only saying readOnlyHint=false, openWorldHint=true, destructiveHint=false, the description carries the real behavioral load: access shares are silent (no email), email shares notify and may attach a PDF, existing grants are preserved rather than replaced, transfer removes the previous owner's schedules and leaves them as admin, and transfer requires report ownership while other modes require owner or admin. Revoke=true and schedule removal are side effects an agent would otherwise not anticipate; here they are disclosed up front, so the destructiveHint=false surface does not mislead.

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 summary followed by a structured per-method list is the right shape for a 12-parameter multi-mode tool, and every mode block earns its place. It is verbose in places — it re-describes return payloads (share_url, sent_to, owner_email, schedules_removed) that the output schema already covers, and the custom-domain aside could be tighter.

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 high-complexity, 12-parameter, multi-mode mutation tool with no schema descriptions, the definition supplies mode semantics, permission gates, side effects, and modifier interactions. Combined with the existing output schema, an agent has everything needed to pick a method and call it correctly.

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?

Schema description coverage is 0% and there are 12 parameters, so the description must compensate — and it does: method's four values, recipients, role with viewer/editor/admin meanings, revoke, subject/message, company_id, new_owner_email defaulting to the target company's owner, visibility (PRIVATE | LINK_PUBLIC), and the optional share_with_company/share_with_domain modifiers. Nearly every parameter gains meaning that the bare schema types ('string', 'boolean', default null) do not convey.

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 and resource plus the four modes it covers: 'Share a report — by public link, by granting people a role, by email, or hand it over to another company.' The per-mode breakdown (link/access/email/transfer) makes it immediately distinguishable from siblings like get_report, edit_report or delete_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 explicit when-to-use guidance per mode, including a concrete selection rationale for transfer ('use it when the report lives in the wrong company — e.g. it must be served on a client's custom domain') and an ordered alternative for demotion ('To LOWER someone's role, revoke them first, then grant the new one'). It also documents the degenerate-but-valid case: method=access with no recipients and only a visibility to change report-level sharing.

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