Skip to main content
Glama

Refresh an expiring asset URL

refresh_asset_url
Read-onlyIdempotent

Output and upload URLs are signed and expire after 24 hours. Pass the s3_key to get a fresh link for the same file.

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

Input Schema

NameRequiredDescriptionDefault
s3_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive); the description adds the genuinely useful 24-hour expiry behavior that explains why the tool exists. It omits how failure behaves for an unknown/expired key, whether the new link also expires in 24 hours, and whether minting a new link invalidates the old one.

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 short sentences: the expiry constraint is front-loaded as motivation, then the action. Nothing is wasted and no restatement of the title.

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 single-parameter read-only tool with no output schema, the essentials are present — what it returns (a link), why (expiry), and the one input. Only the provenance of s3_key and the expiry of the newly issued link are missing.

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 0%, so the description carries the burden; it names s3_key and implies it identifies the file, but does not say where s3_key comes from (e.g., a prior generation or upload response) or what format it takes. Minimal compensation for the coverage gap.

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 specific outcome — obtaining a fresh signed link for an existing file via its s3_key — which is distinguishable from all siblings (generation, listing, quoting). It never restates the verb 'refresh' directly, but the effect is unambiguous.

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 clear triggering context: signed output and upload URLs expire after 24 hours, so use this when a stored link no longer works. There is no explicit when-not case or named alternative, but no sibling overlaps functionally, so the guidance is sufficient for selection.

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