Skip to main content
Glama

check_environment

Detects missing ffmpeg, ffprobe, yt-dlp, Pillow, OpenCV, rembg, and ONNX GPU providers, then returns installation hints to prepare local ShortVideo Toolkit runtimes.

Instructions

Inspect local runtime readiness for ShortVideo Toolkit: detects ffmpeg, ffprobe, yt-dlp, Pillow, OpenCV, rembg, and ONNX GPU providers (CUDA/DirectML/CPU) and returns actionable installation hints for any missing optional component.

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_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the detection surface and that failures return 'actionable installation hints' for 'missing optional component', implying a read-only diagnostic that does not install anything — but it never states that nothing is modified, nor whether GPU provider probing is slow or side-effecting.

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?

A single front-loaded sentence that states the action first and the return value second, with no filler. The dependency enumeration is long but each item earns its place by telling the agent what the report covers; it could be tightened into a grouped form but is not wasteful.

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?

For a zero-parameter diagnostic with no output schema and no annotations, the definition covers what is checked, what a failure yields, and what 'optional' means. What is missing is the shape of the result (per-component pass/fail list vs. prose) and whether missing required versus optional components are distinguished.

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?

The tool takes zero parameters, so there is no argument semantics to explain and the baseline of 4 applies. The description correctly implies a no-argument, self-contained call rather than suggesting any configuration knobs.

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 opens with a specific verb+scope ('Inspect local runtime readiness') and enumerates exactly what is probed (ffmpeg, ffprobe, yt-dlp, Pillow, OpenCV, rembg, ONNX GPU providers). This is clearly distinct from the sibling tools, which download, wash, or matte video rather than diagnose the environment.

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?

Usage is only implied: the phrase 'runtime readiness' suggests a pre-flight check before invoking clip_wash, tiktok_download, or video_matting, and the optional-component framing implies it is safe to run anytime. The description never states explicitly when to call it or that no arguments are needed, leaving the agent to infer the trigger condition.

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