Skip to main content
Glama

check_environment

Read-onlyIdempotent

Verifies ffmpeg and API-key availability, then returns a step-by-step video workflow guide so you can confirm setup before creating narrated demos and rendering videos.

Instructions

[Cinematic Engine] Check environment and get workflow guide.

Verifies ffmpeg is installed and returns a complete workflow guide for creating professional videos. This is the entry point for the Cinematic Engine - always call first!

IMPORTANT: For post-production (Phase 3), use ffmpeg directly via shell commands. This avoids MCP timeout issues with long video operations.

Returns: { "success": True, "data": { "ffmpeg": True/False, "ffmpeg_path": "/usr/bin/ffmpeg", "ffmpeg_version": "ffmpeg version 6.0...", "openai_key": True/False, "elevenlabs_key": True/False, "jamendo_key": True/False, "errors": [...], "warnings": [...], "workflow": {...}, "ffmpeg_examples": {...}, "best_practices": [...] } }

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

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description adds real value beyond that by disclosing what it probes (ffmpeg, OpenAI/ElevenLabs/Jamendo keys), that it returns errors and warnings, and that long video operations should bypass MCP due to timeouts. The remaining gap is minor — it does not say whether missing keys are fatal or what the agent should do on failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose and the timeout warning are front-loaded and earn their place, but the multi-line 'Returns' block largely restates the existing output schema, spending a third of the text on structured data the agent already has. Trimming that would sharpen the definition.

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

Completeness5/5

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

For a zero-parameter, read-only entry-point tool with annotations and a declared output schema, nothing is missing: the purpose, ordering, key checks, and the shell fallback for later phases are all stated.

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 nothing for the description to disambiguate; baseline is 4 by rule. It does not falsely imply any inputs, which keeps it clean.

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 and resource (verify ffmpeg is installed) plus a second concrete output (a complete workflow guide), and frames itself as the Cinematic Engine entry point, which an agent can distinguish from browser/DOM siblings without any schema inspection.

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?

It gives an explicit imperative ('always call first!') and an explicit routing rule for a related-but-different task ('For post-production (Phase 3), use ffmpeg directly via shell commands'), including the reason (avoids MCP timeout issues). That is when-to-use, when-to-do-something-else, and why.

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