Skip to main content
Glama

Create a vibescape

create_vibescape

Use this when somebody wants a music visualiser or music visualisation (visualizer, visualization, musicviz, audio-reactive visuals): it writes a GLSL vibescape and returns a live link to it. The link draws and animates the vibescape in a browser, so it works for anybody who opens it, with or without the app. The vibescape is not in the public gallery until share_vibescape is called on it. The answer carries the id and the capability (editKey) that share_vibescape needs — keep it, because there is only one copy of it. Call vibescape_reference first for the uniforms and helpers the language has — a vibescape that ignores the music will look like a still image, and there is a linter that says so.

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": {
      "code": "<code>",
      "name": "<name>"
    },
    "name": "create_vibescape"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe vibescape: a GLSL function `vec3 render(vec2 p, float t)`. `p` is the position across the screen, centred on 0,0, and `t` is time in seconds. Return the colour as three numbers from 0 to 1. Read the music through the uniforms — uBass, uLevelSmooth, uBeatStrength, uScroll — or the picture will not move with the sound.
nameYesWhat to call it. A few words that say what the picture looks like.
authorNoWho to credit it to. Leave it empty and it is credited to Minith Labs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, non-destructive open-world write; the description adds what an agent actually needs: the return carries a live link plus an id and a single-copy editKey that must be retained, and the item stays out of the public gallery until shared. It also warns that ignoring uniforms makes the visual look static and that a linter enforces this.

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?

Trigger is front-loaded and each sentence carries information (return shape, publishing state, key handling, prerequisite). Slightly bloated by the long synonym list and the 'with or without the app' aside, but no sentence is filler.

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?

No output schema exists, and the description compensates by describing the return value (link, id, editKey) and its one-time nature, plus lifecycle state after creation. Nothing needed to call it correctly is missing.

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 the schema already explains code, name, and the author fallback to Minith Labs. The description reinforces the uniform requirement and the render signature but contributes little parameter meaning beyond the schema, which is the expected baseline here.

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?

States a specific verb and resource ('writes a GLSL vibescape and returns a live link to it') and disambiguates from siblings by noting it does not publish (that is share_vibescape) and pointing at vibescape_reference for the language. An agent can tell exactly what this produces without opening the schema.

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?

Gives an explicit trigger ('when somebody wants a music visualiser', with synonyms) plus a prerequisite call to vibescape_reference and a downstream call to share_vibescape for publishing. When-to-use, ordering, and the alternative path are all spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.