Skip to main content
Glama

Set Signed URL Lifetime

set_url_lifetime

Configure the validity period in minutes for download URLs returned by image generation or editing calls, so links expire sooner for confidentiality or later when you need extra fetch time.

Instructions

Set how long the download URLs returned by generate/edit stay valid, in minutes. Default is 30. Shorten it for tighter confidentiality (a leaked link expires sooner) or lengthen it if you need more time to fetch images. Applies to subsequent calls.

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

Input Schema

NameRequiredDescriptionDefault
minutesYesURL lifetime in minutes (1–10080, i.e. up to 7 days). Default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the default (30), the persistence model ('subsequent calls'), and the security tradeoff of a leaked link. It does not say whether the setting survives across sessions or is scoped per conversation, which is the main remaining behavioral unknown.

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?

Two sentences, front-loaded with the effect and unit, followed by practical decision guidance. Every clause earns its place; nothing is repeated or padded.

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?

For a one-parameter config tool with no output schema and no annotations, the description covers the unit, default, effect scope, and the tradeoff needed to choose a value. Only the lifetime of the setting itself (per-session vs persistent) is left unspecified.

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 coverage is 100% and the schema already documents the unit, range (1–10080), and default, so the description's restatement of 'in minutes' and 'Default is 30' adds little. The confidentiality/urgency framing explains why to pick a value but not anything the schema lacks syntactically. Baseline 3 is appropriate.

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 states a specific verb and resource ('Set how long the download URLs... stay valid') and ties the effect to the named sibling tools 'generate/edit'. An agent can tell immediately that this is a global configuration setter, not an image operation.

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 gives concrete conditions for changing the value: shorten for tighter confidentiality, lengthen when you need more fetch time. It also scopes the effect ('Applies to subsequent calls'), which tells the agent when the setting takes hold. There is no guidance on whether to reset to the default afterwards, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.