Skip to main content
Glama
@pixelvault-dev/local-mcp

@pixelvault-dev/local-mcp

Sign private URL

sign_url

Mint a time-limited signed URL for a private image so it can be shared without exposing permanent access; the signature binds to that image and cannot be replayed.

Instructions

Mint a time-limited signed URL for a private image (POST /v1/images/:id/sign-url). The signature binds the image, so the URL can't be replayed against another; strip it and the CDN returns 403. Optional expires_in (seconds, default 3600).

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

Input Schema

NameRequiredDescriptionDefault
idYesImage id to mint a signed URL for, e.g. img_abc123.
expires_inNoSignature lifetime in seconds (60–2,592,000). Default 3600 (1 hour).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.8/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 explains that the signature is bound to the image and cannot be replayed against another, that stripping the signature yields a CDN 403, and that expires_in defaults to 3600. It stops short of noting auth/permission requirements or whether minting has side effects, which keeps it off a 5.

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-loads the action and endpoint, then adds the security rationale in one compact clause. Slightly more than necessary since the endpoint path and default are duplicative, but every sentence is functional.

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

Completeness3/5

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

No output schema exists, yet the description never says what comes back (a bare URL string, an expiry timestamp, a full object) or how long minting takes. For a two-parameter utility tool this is adequate but leaves a real gap about the return value.

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%, so both id and expires_in are already documented with ranges and defaults. The description restates only the expires_in default, adding no format or behavioral meaning beyond the schema; baseline 3 applies.

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?

States a specific verb (mint) and resource (time-limited signed URL for a private image) and pins the underlying endpoint POST /v1/images/:id/sign-url. The 'private image' scope lets an agent distinguish it from sign_audio_url and sign_video_url siblings.

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?

The word 'private' implicitly tells the agent this is for non-public images, but there is no explicit when-to-use guidance, no mention of when to prefer the plain get_image URL instead, and no stated prerequisites such as ownership or auth scope.

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