Skip to main content
Glama

Share a run's report with a link

share_report

Make a public link to the report of one finished run, the Share button on a report in the dashboard: anyone with the link can read the whole report with no login, as it is now (a frozen copy). A report can hold the person's data, so call it first without approved: it returns what would be shared and makes nothing. Tell the person, then call again with approved: true only after they say yes. A run that already has a link gets that link back. For the person's own reading use report_url from get_run or get_pipeline_run instead; that one needs their login and makes nothing public.

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

Input Schema

NameRequiredDescriptionDefault
run_idYesThe run_id from run_workflow, run_agent or list_runs, a pipeline_run_id (shares the report of the pipeline's end result), or a request id from the logs.
approvedNotrue only after the person has agreed to make this report public.
expires_in_daysNoDays until the link stops working. Leave out for a link with no end date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / run_id / description
      Previous value: -"The run_id from run_workflow, run_agent or list_runs, or a request id from the logs."New value: +"The run_id from run_workflow, run_agent or list_runs, a pipeline_run_id (shares the report of the pipeline's end result), or a request id from the logs."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it discloses the consequences an agent most needs: anyone with the link can read the whole report with no login, the shared copy is frozen, the report may contain the person's data, and the first call returns a preview while making nothing. It also states that a run that already has a link returns that existing link. Minor tension with idempotentHint=false, but this describes a precondition state rather than contradicting the annotation.

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-loads purpose, then the privacy warning, then the approval protocol, then the alternative — a sensible order with no filler sentences. The prose is dense and slightly run-on with stacked appositives ('as it is now (a frozen copy)'), which costs a little readability but not content.

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?

With no output schema, the description still conveys what comes back: a preview of what would be shared on the first call, and an existing or newly created link thereafter. Together with the privacy consequences, freezing behavior, and approval flow, an agent has everything needed to call this correctly and safely.

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 run_id (including that a pipeline_run_id shares the pipeline's end result) and approved. The description reinforces the approved gating protocol but adds nothing about expires_in_days, so relative to the schema its parameter value is marginal — baseline 3.

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 concrete verb and resource ('Make a public link to the report of one finished run') and anchors it to a familiar UI affordance ('the Share button on a report in the dashboard'). It also explicitly distinguishes itself from the sibling path get_run/get_pipeline_run and their report_url, so an agent can tell which tool produces a public link versus a private one.

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 (finished run, sharing publicly), an explicit when-not ('For the person's own reading use report_url from get_run or get_pipeline_run instead'), and a mandatory two-phase protocol: call first without approved as a no-op preview, tell the person, then call with approved: true. Nothing about selecting or sequencing this tool is left to inference.

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