Skip to main content
Glama

Share a report with a password

share_report_with_password

Creates a new link that requires both its address and a separate password to read this report. Use when an owner or admin asks to share it with a password. Read the report first and attest to its personal data exactly as for share_report. Other addresses keep their existing access: check list_report_links before saying a whole report is protected. A retry with the same request id returns the original link and settings, even if it has ended. Deliver the password separately from the 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>",
      "password": "<password>",
      "request_id": "<request_id>"
    },
    "name": "share_report_with_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoWhat the person calls the link, for example `client review`.
passwordYesA dedicated password for this link, at least 15 characters. Never use an account password.
report_idYesThe report to share (list_reports gives ids).
request_idYesA new random UUID for this link. Reuse it only to retry this exact request.
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. Added

TDQS

A4.9/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), the description discloses idempotency semantics ('A retry with the same request id returns the original link and settings, even if it has ended'), states that other addresses keep existing access, and gives a security handling rule ('Deliver the password separately from the address').

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

Conciseness5/5

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

The description is front-loaded with the core action and then layers usage, prerequisites, side-effect caveats, idempotency, and password handling in six tight sentences. Every sentence carries distinct operational information with no 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?

For a 9-parameter mutation with no output schema, the description covers the essential context: who can use it, the required read-and-attest prerequisite, what happens to existing links, retry behavior, and password delivery. Any remaining gap about exact return fields is minor and partly addressed by the retry sentence.

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 the baseline is 3; the description adds operational meaning by tying contains_no_personal_data/named_people to the share_report attestation flow and by giving delivery guidance for the password parameter. It does not explain label, lifetime_days, open_until_ended, or workspace_id beyond the schema, so it falls short of a full 5.

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?

The description opens with a specific verb and resource: 'Creates a new link that requires both its address and a separate password to read this report.' It explicitly distinguishes this from share_report by the password requirement and names list_report_links as the sibling to check before claiming full protection.

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?

It gives explicit when-to-use guidance ('Use when an owner or admin asks to share it with a password'), names the alternative share_report for the attestation flow, and adds a concrete prerequisite ('Read the report first and attest to its personal data exactly as for share_report') plus a caveat to check list_report_links before saying a whole report is protected.

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