Skip to main content
Glama

Share a report by a public link

share_report

Makes a public link to a report (https://reports.codegene.ai/...): ANYONE who has the address can read the report, without signing in. For a password use share_report_with_password. The public link lasts until it ends 1, 7 or 30 days from now, or until someone ends it when open_until_ended is true. It shows the newest version and moves to each later version once that version passes CodeGene's share check. Only the workspace's owners and admins may make one, and every owner and admin is told in their CodeGene Inbox that an assistant made it. Make one only when the person asks to share the report outside the workspace. First read the report: set contains_no_personal_data only after checking that it, its title and the label hold no names, email addresses, phone numbers or other details of real people, or list in named_people each person it names who agreed to be named, with a reference to their agreement. CodeGene still checks the report itself. Asking again on the same terms hands back the same open link, renewed from now, at the same address.

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

Input Schema

NameRequiredDescriptionDefault
labelNoWhat the person calls the link, for example `client review`.
report_idYesThe report to share (list_reports gives ids).
named_peopleNoInstead of contains_no_personal_data: each real person the report names, who agreed to be named in it.
workspace_idNoWorkspace id from whoami; omit when there is one.
lifetime_daysNoHow many days the link works from now: 1, 7 or 30. 7 when left out. Leave it out when open_until_ended is true.
open_until_endedNoThe link never expires: it works until the person or another owner or admin ends it (end_report_link), like a shared artifact's link. Only when the person asks for a link that stays up; never with lifetime_days.
contains_no_personal_dataNoYou read the report, its title and the label, and they hold no personal details of real people. Give this or named_people, exactly one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • changedInput schema / properties / lifetime_days / description
      Previous value: -"How many days the link works from now: 1, 7 or 30. 7 when left out."New value: +"How many days the link works from now: 1, 7 or 30. 7 when left out. Leave it out when open_until_ended is true."
    • addedInput schema / properties / open_until_ended
      Added value: +{
      +  "const": true,
      +  "description": "The link never expires: it works until the person or another owner or admin ends it (end_report_link), like a shared artifact's link. Only when the person asks for a link that stays up; never with lifetime_days.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: public accessibility, the 1/7/30-day expiry versus open_until_ended, the link tracking the newest version subject to CodeGene's share check, owner/admin-only authorization, admin notification via Inbox, and idempotent re-issue that renews from now at the same address. Useful gaps remain — whether an existing link is invalidated when expires, or what exactly is returned — but the disclosure is unusually rich.

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?

The critical fact (public, no sign-in) is front-loaded, followed by alternatives, expiry, permissions, then the consent workflow. It is one dense block and the admin-notification sentence is a little verbose, but no sentence is filler.

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 7 parameters, no output schema and only coarse annotations, the description carries the load well: authorization, expiry semantics, idempotency, consent prerequisites and safety re-checks are all covered. An agent has enough to call this correctly in one attempt.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: contains_no_personal_data is conditioned on having read the report, its title and the label for personal details, and named_people requires a consent reference per named person. It also states that CodeGene re-checks independently and that identical terms return the same link.

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 ('Makes a public link to a report') and immediately bounds the effect: anyone with the address can read it without signing in. It also names the sibling it is not (share_report_with_password), so an agent can distinguish the two without opening either 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?

Explicit routing: use share_report_with_password when a password is wanted, and 'Make one only when the person asks to share the report outside the workspace' gives a clear when-not condition. The prerequisite workflow ('First read the report') is stated with the exact flag to set.

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