Skip to main content
Glama

Check .riv runtime compatibility

riv_preflight

Detect .riv features and compare target runtime versions against documented minimums, reporting unsupported, conditional, or unverified support before playback.

Instructions

Detect .riv features and compare optional target runtime versions with documented minimums. Report unsupported, conditional, or unverified support, and inspect the file with bundled official WASM.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the .riv file
strictNoCount unverified compatibility as a warning (default false)
targetsNoTarget runtimes (default: all supported target names)
versionsNoTarget runtime versions as numeric dotted strings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the mechanism ('inspect the file with bundled official WASM') and the outcome taxonomy (unsupported / conditional / unverified), but it never states that the operation is read-only, whether it fails or succeeds on mismatches, or how 'documented minimums' are determined.

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?

Two sentences, no filler, with the core capability front-loaded and the WASM implementation note trailing. Slightly dense phrasing ('report unsupported, conditional, or unverified support') but every clause carries information.

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

Completeness3/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 needs to convey what comes back; it lists the three support classifications but does not describe the report shape, whether results are per-target/per-feature, or whether an incompatible file yields an error versus a report. Adequate but leaves real gaps for a 4-parameter tool with nested objects.

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?

Schema coverage is 100%, so the baseline is 3. The description adds mild value by framing targets/versions as optional comparisons against documented minimums, and the 'unverified' category relates to the strict flag, but it does not directly explain what each parameter changes.

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 names specific verbs and resource: detect .riv features, compare against documented minimum runtime versions, and report support status. This is clearly a compatibility preflight, not a generic inspection. It doesn't explicitly differentiate from close siblings like riv_lint or riv_inspect, which keeps it at 4.

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?

The 'preflight' framing and 'optional target runtime versions' imply usage before targeting a runtime, but there is no explicit when-to-use or when-not-to-use statement, and no named alternative (e.g., riv_lint for general correctness checks). Usage is inferable rather than stated.

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