Skip to main content
Glama

Replace a copy's edit link

renew_link
Destructive

Creates a new edit link for a copy the caller owns and invalidates the old one; the view-only link keeps working. Returns the new openUrl. Owning the app is not enough to renew the links of other people's copies.

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": {
      "instanceId": "<instanceId>"
    },
    "name": "renew_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceIdYesThe full docId of a copy (a data document of the app), as returned by list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the previous edit link is invalidated (the destructive side effect behind destructiveHint), that the view-only link survives, that the return value is the new openUrl, and the ownership boundary on who may renew. That is exactly the consequence-level context an agent needs before invoking a mutation.

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 short sentences, each carrying a distinct fact: what it does and its side effects, what it returns, and the ownership limit. The key consequence is front-loaded 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 single-parameter mutation, the definition covers side effects, the returned value, and the authorization boundary, while annotations already carry the readOnly/destructive profile. Nothing an agent needs to call this correctly is missing.

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?

One parameter at 100% schema coverage, so the schema already defines instanceId via list_instances. The description adds meaning the schema does not: the document must be a copy the caller owns, which qualifies what counts as a valid instanceId.

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?

Specific verb and resource ("Creates a new edit link for a copy") plus explicit scope: invalidates the old edit link while the view-only link keeps working. That contrast cleanly separates it from revoke_link and from ordinary app-level operations without naming a sibling.

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?

States the governing precondition clearly: the caller must own the copy, and "Owning the app is not enough to renew the links of other people's copies." It does not point to an alternative (e.g. revoke_link) for the case where renewal is the wrong action, so it stops short of full when/when-not routing.

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