Skip to main content
Glama
YeXuanHs

Galgame MCP

by YeXuanHs

kagconfig_set

Update Config.tjs key values in place within Galgame projects, preserving UTF-16 encoding and comments to avoid corruption.

Instructions

Update Config.tjs keys in place (UTF-16, preserves comments when possible).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
valuesNoAlias of updates
updatesNoKeys to set; alias of values
Behavior3/5

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

The description discloses beyond the basic mutation operation that the tool works in UTF-16 encoding and preserves comments when possible, which is useful behavioral context. However, it omits other important behavioral traits such as error handling, file access requirements, or side effects on keys not included in the update.

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 a single, front-loaded sentence with no filler words. The parenthetical note on encoding and comment preservation is concise and provides meaningful information without bloating the description.

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 mutation tool with no annotations and no output schema, the description is too sparse. It does not cover return values, failure modes, backup behavior, or the effect on existing keys not listed in the update. The encoding and comment-preservation notes are helpful but insufficient for a complete operational picture.

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 description adds meaning by interpreting the `values`/`updates` parameters as 'keys' in Config.tjs, which clarifies their purpose. The schema already provides descriptions for two of the three parameters, but the required `path` parameter remains undescribed, and the structure of the update objects is not detailed.

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 clearly states the tool's action ('Update') and resource ('Config.tjs keys') with the specific qualifier 'in place'. This directly differentiates it from sibling kagconfig tools like load, list, and summarize, which are read-only operations.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention any prerequisites, exclusions, or scenarios where a different tool would be preferable. The usage context is left entirely to inference.

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/YeXuanHs/Galgame-mcp'

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