Skip to main content
Glama

create_report_link

Create a read-only public link to the client report, covering the last period_days and expiring after expires_in_days (0 = never). The response's url is the link to send; it is shown only once and can't be retrieved later, so pass it on right away. Owner only, admin-scoped key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_report_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoA name to recognise the link by, e.g. the client's name.
period_daysNoDays of data the report covers, 7 to 365. Default 30.
expires_in_daysNoDays until the link expires, 0 to 365. 0 means it never expires. Default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say write, non-idempotent, non-destructive; the description adds the behaviors that actually matter: the link is public but read-only, it auto-expires (0 = never), the credential (`url`) is revealed exactly once and cannot be re-fetched, and the operation requires owner rights via an admin-scoped key. Nothing here contradicts the annotations — 'read-only' describes the link's access mode, not the tool.

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?

Three sentences, front-loaded with the action and its defining constraints, followed by the one-time-reveal warning and the auth requirement. Every clause carries information an agent needs before calling.

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?

With no output schema, the description correctly compensates by naming the `url` return field and its one-shot nature, and it covers auth scope for a mutation tool with no required params. The only omission is that repeated calls mint additional links (nothing tells the agent to revoke an existing link first via revoke_report_link).

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, but the description disambiguates the two otherwise confusable 30-day defaults by framing period_days as the data window and expires_in_days as link lifetime, and restates the 0 = never convention. It says nothing about `label`, though the schema already documents it well.

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 and resource ('Create a read-only public link to the client report') plus the two axes that define the link (data window and expiry), which cleanly separates it from siblings like revoke_report_link, list_report_links, and get_client_report by name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives strong operational guidance: pass the returned `url` on immediately because it is shown only once, and notes the caller must be the owner using an admin-scoped key. It does not explicitly say when not to use it or point at revoke_report_link/list_report_links as lifecycle alternatives, so it stops short of full routing guidance.

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