Skip to main content
Glama

Get video link import

get_video_url_import
Read-onlyIdempotent

Poll fileImportId from import_video_from_url until succeeded, failed or cancelled. A failed snapshot needs a different link, not another identical retry. Once succeeded, pass its fileId to video_to_video.videoFileId; never generate before import succeeds.

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": {
      "fileImportId": "<fileImportId>"
    },
    "name": "get_video_url_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileImportIdYes

Output Schema

NameRequiredDescriptionDefault
fileYes
errorYes
fileIdYes
statusYes
attemptIndexYes
fileImportIdYes
progressPercentageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / selection
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "sourceUrl": {
      -      "type": "string"
      -    },
      -    "videos": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "durationSeconds": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "title": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "videoIndex": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "videoIndex",
      -          "title",
      -          "durationSeconds"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "sourceUrl",
      -    "videos"
      -  ],
      -  "type": "object"
      -}
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, which fits a polling read. The description adds real behavioral context beyond that: the three terminal states and the fact that retrying a failed import with the same link is futile. It stops short of stating polling cadence, backoff, or expected latency, which matters for a tool whose entire job is repeated invocation.

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?

Three short sentences, each doing distinct work: the polling loop first, the failure case second, the success handoff third. No restatement of the name or title, and the most load-bearing constraint (never generate before import succeeds) lands at the end as a warning.

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-value explanation is not required, and the description covers the full lifecycle an agent needs: initiation source, polling, terminal states, failure handling, and downstream wiring. The only missing operational detail is how often to poll and roughly how long imports take, which would prevent tight-loop misuse.

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

Parameters4/5

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

Schema coverage is 0% and the single parameter has no description in the schema, so the description carries the burden. It does so by identifying the parameter's origin (from import_video_from_url) and its downstream use (its fileId feeds video_to_video.videoFileId), which is more than the schema conveys. It does not state the expected format of the id, but the provenance note is the practically useful part.

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?

Uses a specific verb (poll) against a specific resource (fileImportId) and names its source tool, import_video_from_url, which is a sibling. The agent can immediately distinguish this status-checking tool from the import-initiation tool without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states the loop condition (until succeeded, failed or cancelled), the failure branch (a failed snapshot needs a different link, not another identical retry), and the success branch (pass fileId to video_to_video.videoFileId). It also gives a hard prohibition: never generate before import succeeds. This covers when to use, when to stop, and what to do next.

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.