Skip to main content
Glama

create_granular_texture

Generate a shimmering cloud of tiny sine grains scattered in pitch and stereo; adjust density, grain size, pitch spread, duration, and effects to create granular textures.

Instructions

Play a shimmering cloud of many tiny sine grains scattered in pitch and stereo.

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": "create_granular_texture"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed for a reproducible result; omit for a new one
volumeNoLoudness, 0..1
densityNo0 = 5 grains/s, 1 = 100 grains/s
effectsNoOptional effect chain
durationNoSeconds
grain_sizeNoGrain length in seconds
source_noteNoCentre note or frequencyA4
pitch_spreadNoRandom pitch range; 1 = +-1 octave

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description only needs to add operational context. It conveys that grains are randomly scattered, which loosely supports the non-idempotent hint, but never says that the call plays audio for a duration of up to 60 seconds, whether it blocks the caller, how it interacts with concurrent playback (cf. stop_all), or that a seed makes the result reproducible.

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?

It is a single well-formed, front-loaded sentence with no filler, which is structurally sound. However, brevity here comes at the cost of under-specification rather than efficiency, since the tool takes eight parameters and produces audio lasting up to a minute.

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?

The tool has eight parameters, an output schema, and annotations, so the structured data carries much of the load, but the description leaves key operational facts unstated: that the call generates and plays audio in real time for the requested duration, that effects are applied to everything the call produces, and that playback may continue after the call returns.

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%, with every parameter including ranges and defaults documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond that, not even a hint that density, grain_size, pitch_spread, and source_note are the parameters shaping the described shimmer.

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 sentence names a specific verb and sonic resource: playing a cloud of tiny sine grains scattered in pitch and stereo. But it is framed aesthetically rather than functionally, so an agent cannot confidently distinguish it from siblings like create_ambient_soundscape or play_synth, and nothing states that it synthesizes a time-bounded texture from a source note.

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 when-to-use guidance at all: no mention of when a granular texture is preferable to create_ambient_soundscape, create_layered_synth, or play_synth, and no callout of prerequisites such as stopping existing playback first.

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