Skip to main content
Glama

scene_add_preset_point

Destructive

Add a named preset point (position and rotation) to a copied save so node graphs can read map locations like waiting rooms, arenas, or boss spawns by ID instead of hardcoded numbers.

Instructions

Add a named preset point (预设点) to a copy of a save: a position and a rotation a graph reads by id with f.queryPresetPointPositionRotation(pointId), so that places (a waiting room, the arena, where the boss appears) live in the map and not as numbers inside graphs. Returns pointId. Writes a new .gil in the workspace; the official save is not touched. Verified in play on 2026-10-10.

Input Schema

NameRequiredDescriptionDefault
nameYes
mapPathNo
positionYes
rotationNo
outputNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare that this is a write with destructiveHint=true; the description adds the critical qualifier that it writes a new .gil into the workspace and leaves the official save untouched, which materially changes the agent's risk assessment. It also discloses the return value (pointId) and provenance ('Verified in play on 2026-10-10'). Not a 5 because the size/limits of the new file and overwrite behavior for an existing preset name are unstated.

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?

Front-loaded with the action and resource, then the motivation, then the side effect and return value—a sensible ordering. The single very long sentence with embedded parentheticals and Chinese gloss makes it denser than necessary, but nothing is padding.

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

Completeness3/5

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

It covers purpose, side effect, and return value, which is most of what a 5-parameter mutation without an output schema needs. The gap is that two of five parameters (mapPath, outputName) are left entirely to a bare schema with no descriptions, so an agent cannot confidently supply them.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must carry the semantic load. It clarifies name, position, and rotation (and their role in graph lookups) but says nothing about mapPath or outputName, which are exactly the parameters an agent would guess wrong on.

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 ('Add a named preset point ... to a copy of a save') and immediately explains what that resource is: a position and rotation readable by graphs via f.queryPresetPointPositionRotation(pointId). This is concrete enough to separate it from scene_list_preset_points or scene_set_spawn without opening a schema.

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?

Gives a clear rationale for when to use it ('so that places ... live in the map and not as numbers inside graphs'), which tells the agent the design intent behind choosing this tool. It does not explicitly name an alternative or a when-not-to-use case, so it falls short of a 5.

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

Deploy Server

Other Tools