Skip to main content
Glama

Renew a report's public link

renew_report_link

Gives an open public link its time again from now (lifetime_days, or the link's own lifetime when left out), at the same address, or with open_until_ended makes it work until someone ends it. A link that is already open until ended has nothing to renew and is answered as it is. Only the workspace's owners and admins may. A link that ended cannot be renewed: make a new one with share_report.

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": {
      "link_id": "<link_id>"
    },
    "name": "renew_report_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link (list_report_links gives ids).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-destructive, closed-world write; the description adds the authorization requirement (workspace owners and admins only), the address-preservation behavior, the idempotent behavior for already-permanent links, and the irreversibility boundary for expired links. It does not describe what the response contains, which is the remaining gap in a mutation tool with no output schema.

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?

Short and front-loaded, leading with the action before the edge cases and the alternative tool. Some sentences are compressed into dense clauses ('A link that is already open until ended has nothing to renew and is answered as it is'), but every sentence carries a distinct rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation with annotations covering safety, the description covers permissions, the no-op path, and the failure path well. What it omits is the return value and whether the link_id or URL comes back, which matters when there is no output schema to fall back on.

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%, and the schema already documents link_id provenance, workspace_id default, the 1/7/30 lifetime values with a default of 7, and the open_until_ended exclusion against lifetime_days. The description restates the default and the mutual exclusivity without adding new semantics, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete action on a specific resource — re-extending a public report link's lifetime at the same address — and closes by contrasting with share_report for making a new link. The phrasing 'gives an open public link its time again' is slightly figurative rather than a plain 'renews', but the resource and effect are unmistakable.

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 spells out the when-to-use conditions (link is open, needs more time, or should be made permanent), the no-op case (already open until ended is answered as-is), the prohibition (ended links cannot be renewed), and the alternative to use instead (share_report). Nothing about choosing 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