Skip to main content
Glama

Re-bind Media Stream URLs

resolve_media

Refreshes localhost stream URLs for saved media paths so reopening historical chats can render video, audio, and image previews without reloading raw bytes.

Instructions

App-only helper to refresh localhost stream URLs when reopening historical chats.

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

Input Schema

NameRequiredDescriptionDefault
pathsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 disclose a meaningful constraint: this is an app-only helper, implying it is not for server-side or remote callers. It does not explain whether re-binding mutates persisted state, what happens with stale or invalid paths, whether auth is required, or what is returned on success/failure.

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?

A single front-loaded sentence where every element ('app-only helper,' 'refresh localhost stream URLs,' 'reopening historical chats') adds distinct information. No filler or redundancy.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and zero schema description coverage, the definition is too thin: it explains the scenario but not the input shape or any result/error behavior. An agent could identify the tool but would still be guessing at how to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions the single 'paths' parameter at all. It says nothing about whether entries are local file paths, URL paths, or identifiers, nor about required format, relative vs absolute form, or ordering — leaving the one input completely undocumented.

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 action (refresh/re-bind localhost stream URLs) plus the triggering scenario (reopening historical chats), which is far more than a restatement of the name. It implicitly separates itself from 'preview_media' by being a re-binding helper rather than a viewer, but it never names or contrasts that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies one concrete usage condition, 'when reopening historical chats,' and the 'app-only' qualifier hints at the environment. However, it gives no when-not guidance (e.g., new chats or remote/server contexts) and does not point to preview_media or open_modal as alternatives, so an agent must infer the boundary.

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

Deploy Server

Other Tools