Skip to main content
Glama

add_audio_player

Add audio players (AudioStreamPlayer, 2D, or 3D) to a Godot scene, with options for type, name, audio stream, and additional properties like volume or autoplay.

Instructions

Add an AudioStreamPlayer, AudioStreamPlayer2D, or AudioStreamPlayer3D node

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCustom node name
parentYesParent node — '' for scene root
propertiesNoAdditional player properties (volume_db, autoplay, bus, etc.)
player_typeNoAudio player typeAudioStreamPlayer
stream_pathNoAudio stream resource path (e.g. 'res://sounds/music.ogg')
Behavior2/5

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

No annotations are present, so the description must fully disclose behavior. It only states the action without detailing failure cases, side effects (e.g., overwriting existing nodes), or prerequisites (e.g., parent existence). This is insufficient for a mutation tool.

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?

The description is a single, clear sentence that is front-loaded with the essential verb and resource. No extraneous words. However, it could be expanded to include key behavioral details without sacrificing conciseness.

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 tool with 5 parameters including a nested object and an enum, the description is too sparse. It does not explain how parameters like 'stream_path' or 'properties' affect the node, nor does it mention return values (no output schema). An agent would need to infer usage from the schema alone.

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?

The input schema covers all parameters with descriptions (100% coverage). The natural language description adds no extra meaning beyond 'add node', so it meets the baseline for high schema coverage.

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 states the verb 'Add' and specifies the exact resource types (AudioStreamPlayer, AudioStreamPlayer2D, or AudioStreamPlayer3D). It clearly distinguishes from generic node adders like 'add_node', though it doesn't explicitly contrast with siblings.

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?

No usage guidance is provided. The description does not indicate when to use this tool versus alternatives like 'add_node' or when not to use it. Given the presence of a generic 'add_node' sibling, explicit guidance would be beneficial.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KeeVeeG/godot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server