Skip to main content
Glama

Check source

check_source
Read-only

Check whether a video would be accepted before creating a project by looking up its URL length or using a supplied duration; returns fit status, reason, and quota.

Instructions

Before create_project: would this video be accepted now? Give sourceUrl (its length is looked up, nothing is downloaded) or durationSec for a file. Returns { minutes, fits, message, quota, allowance }; fits false means create_project would be refused, message says why, quota.primary is the upgrade offer (a link for a person). fits null: the length is unknown.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceUrlNohttp(s) URL of the video; give this or durationSec
durationSecNoLength of a file you will upload, in seconds; give this or sourceUrl

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.34.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds the operationally important fact that "nothing is downloaded" and the length is merely looked up. It also discloses the meaning of the primary return signals — fits=false means create_project would be refused, message explains why, quota.primary is a human-facing upgrade link — which is behavior an agent cannot infer from a readOnly hint.

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?

The trigger condition is front-loaded and nearly every clause carries new information, including the return-field walkthrough. The telegraphed, run-on style ("fits null: the length is unknown") costs a little readability but not enough to call the length excessive.

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?

With no output schema, the description carries the return-value burden and does so by naming the shape { minutes, fits, message, quota, allowance } and explaining the two ambiguous states (fits false, fits null). A reader still has to guess at the units of minutes and at what allowance represents, which is the only remaining gap for a tool this simple.

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 100%, so baseline is 3; the description goes beyond it by explaining that sourceUrl has its length looked up rather than being fetched, and that durationSec applies to a file you will upload. It does not mention bounds or format rules, but those live in the schema (uri format, maximum 86400), so the added meaning is genuine if narrow.

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?

The description states a precise question the tool answers ("would this video be accepted now?") and frames it as a pre-flight check for create_project, so an agent can separate it from the sibling that actually creates the project. It also names what the tool consumes (a URL or a duration) and what it returns, leaving the verb and resource unambiguous.

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?

Usage is anchored to a specific moment: "Before create_project." It also gives the input alternatives (sourceUrl for a video, durationSec for a file) and an explicit interpretation rule for the fits=null case, which is exactly the branch an agent would otherwise mis-handle.

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