Skip to main content
Glama

MagicLayers

download

Get a private short-lived download link, byte count and SHA-256 for a completed and paid task. Defaults to the delivery package.

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

Input Schema

NameRequiredDescriptionDefault
kindNopackage
task_idYesThe compact or full UUIDv7 returned by MagicLayers.
task_refNoThe private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds the genuinely non-obvious behavior that the returned link is private and short-lived, which the agent needs in order to use the result promptly. It does not explain why the call is not read-only (presumably signed-URL generation or quota accounting) or what failure looks like, so it earns a 4 rather than 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, and the precondition plus return artifacts are front-loaded before the default-value note. Every clause carries information the agent can act on.

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?

An output schema exists, so return values need no further explanation, and the description covers the key gate (task must be completed and paid) and the link's ephemerality. The remaining gap is the authorization behavior behind task_ref, which the schema handles only partially.

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?

With 67% schema coverage the schema already documents task_id and task_ref, and the 'defaults to the delivery package' sentence restates the enum default the schema already declares. Nothing distinguishes task_id from task_ref or explains when the task_ref may be omitted, so the description adds little beyond structured fields.

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 gives a specific verb (Get) plus the exact artifacts returned (download link, byte count, SHA-256) and scopes them to a 'completed and paid task', so the resource is unambiguous. It does not differentiate itself from siblings such as status or verify_payment, which is the only thing keeping it below a 5.

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?

'For a completed and paid task' is an explicit precondition that tells the agent when the call is valid, and the default-to-package note tells it what happens when kind is omitted. There is no exclusion guidance or named alternative for cases where the task is unpaid or still running, so it stops short of full when/when-not coverage.

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