Skip to main content
Glama

Delete an actor

delete_actor

Remove an actor from a scene, blocking deletion if any scripts reference the actor. Use force to bypass the safety check.

Instructions

Delete one actor file from a scene's actors/ directory. Refuses if any script references this actorId (including via property paths like <actorId>:x_pos); pass force: true to override. The actor's own scripts are not counted as external references — they are deleted with the file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoSkip the cross-reference check.
actorIdYesActor id (UUID) to delete.
sceneIdYesScene id (UUID) the actor lives in.
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses that the tool refuses if external scripts reference the actorId (with example path), that force skips the check, and that the actor's own scripts are deleted with the file.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, front-loaded with the action, and every sentence adds essential information without redundancy.

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

Completeness4/5

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

Given no output schema and minimal annotations, the description covers the core behavior, refusal condition, force option, and actor script handling. It could mention prerequisites like scene existence, but is still comprehensive for a deletion tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for each parameter. Description adds behavioral context for 'force' (skip cross-reference check) and clarifies that actor's own scripts are not counted as external references, which adds value beyond the schema.

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?

The description states 'Delete one actor file from a scene's actors/' directory.' This is a specific verb+resource, clearly distinguishing it from sibling tools like delete_scene or delete_trigger.

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

Usage Guidelines4/5

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

It explains when to use (delete an actor) and when it refuses (external script references). It also mentions the force option to override. However, it does not explicitly contrast with alternatives like delete_scene.

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/gbs-toolkit/mcp-server'

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