Skip to main content
Glama

describeEffectFrame

Render a shader effect frame and analyze it with AI vision using your prompt, returning a description and optionally the PNG capture.

Instructions

Render a frame. Analyze the image with AI vision, using the prompt that the user supplies.

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": {
      "prompt": "<prompt>"
    },
    "name": "describeEffectFrame"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesAnalysis prompt for the AI vision model
backendNoRendering backendwebgl2
effectsNoComma-separated effect IDs
effect_idNoOne effect ID, such as "synth/noise"
capture_imageNoReturn the rendered PNG data URI alongside the description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and leaves key behavior unstated: that the rendered image is presumably sent to an external vision model, expected latency or cost, and whether anything persistent is created. The capture_image option, which changes what is returned, is never mentioned in prose.

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 short sentences, with the rendering action front-loaded and no filler. The structure is efficient, though the second sentence mostly rephrases the first and could carry more signal.

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

Completeness2/5

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

For a five-parameter tool with no annotations and no output schema, the description says nothing about what comes back beyond an implied description string, and it omits the conditional PNG data URI. An agent cannot predict the response shape or side effects from this text.

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 description coverage is 100%, so every parameter including backend, effects, effect_id, and capture_image is already documented in the schema. The description only restates that a user-supplied prompt drives the analysis, adding no new meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names two actions, rendering a frame and running AI vision analysis, which does partly separate it from a plain render tool, but it never says the frame is an effect's rendered output or how it differs from siblings like renderEffectFrame and analyzeEffect. An agent can grasp the gist but not the precise scope.

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

Usage Guidelines2/5

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

There is no statement of when to choose this over renderEffectFrame or analyzeEffect, no prerequisites, and no indication of whether the vision call needs network access. The only conditional hint is the prompt mention, which is not usage guidance.

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