Skip to main content
Glama

Renew an image link

renew_image_link
Destructive

Renew your link to a picture generate_image saved without application. Pass its name. Each call ends the previous link and gives one valid for at most one hour, never past kept_until. Anyone with link can open the picture in a browser without signing in. The answer also gives two download commands. On MCP, inline: true also returns the picture as image content if it is at most 256 KiB. A larger or unreadable picture still has its link. The picture is kept for 7 days. After kept_until, the call refuses image_expired while the picture's record remains. A name your account holds no picture of refuses image_not_found. This call generates no picture and uses no image from your cap.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe name `generate_image` gave a picture saved without `application`. A name your account holds no picture of refuses `image_not_found`.
inlineNoWhen true, also return MCP image content if the picture is at most 256 KiB and can be read. A larger file, an HTTP call or a failed read includes no image block; the answer says why.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations mark this destructive and non-read-only, and the description explains exactly why: each call ends the previous link. It also discloses the one-hour validity capped by `kept_until`, that anyone holding the link can view without authentication, the 7-day retention, and the specific `image_expired` / `image_not_found` failure modes - far beyond what the annotations convey.

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?

Front-loaded with purpose and the destructive caveat, and every sentence carries a distinct fact (validity window, auth-free access, inline limits, retention, error codes). It is somewhat staccato with many short sentences that could be grouped, but nothing is wasted.

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 only two parameters and no output schema, the description carries the burden well: it describes what the response contains (two download commands, optional inline image block), the retention policy, and both refusal codes, leaving no material gap for correct invocation.

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 adds lifecycle meaning: `name` must come from `generate_image` with no `application`, and `inline: true` returns image content only up to 256 KiB while a failed or oversized read still preserves the link. That connects the parameters to observable outcomes rather than restating types.

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+resource ("Renew your link to a picture") and ties it to the sibling `generate_image` and its `application` variant, plus explicitly states "This call generates no picture," which cleanly separates it from the generation tool.

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?

It makes the trigger obvious: you have a name from `generate_image` and need a fresh link, and the closing note that no image is generated and no cap is consumed signals this is not a substitute for generation. It stops short of naming an explicit alternative to call when a new picture is wanted, so it is clear context without full 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