Skip to main content
Glama
TaiRaven
by TaiRaven

add_file_to_changeset

Add a sys_update_xml file to a changeset, bypassing ACL blocks to enable direct insertion.

Instructions

Add a file (sys_update_xml record) to a changeset. NOTE: sys_update_xml often blocks direct inserts via ACL (confirmed on this PDI) since it normally holds system-generated content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
changeset_idYessys_id or name of the changeset
file_contentYes
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses a known failure mode (ACL blocking on sys_update_xml inserts), which is valuable. However, it does not describe the success behavior, return value, side effects, or permissions required beyond that caution, leaving significant gaps 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.

Conciseness5/5

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

The description is two sentences with zero fluff. The core action and record type are front-loaded, and the critical ACL warning is concise and useful. Every word earns its place, making it a model of efficient phrasing.

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 incomplete. It lacks information about what the tool returns, how to format the file content, what constitutes a valid file_path, and any additional restrictions beyond the ACL note. An agent would have to guess or experiment to use it correctly, which is inadequate given the tool's complexity.

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 only 33% (only changeset_id is described). The description does not explain file_path or file_content semantics at all, nor does it add detail about the changeset_id. The phrase 'Add a file' implies the parameters but provides no format, constraints, or examples. The description fails to compensate for the low 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 clearly states the action: add a file (a sys_update_xml record) to a changeset. It specifies the resource and the specific record type, making the tool's function distinct from similar sibling tools like update_changeset or commit_changeset. However, it does not explicitly name alternatives or draw a contrast, so it stops short of a 5.

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 its siblings. It does not mention any prerequisites or situations where this tool is preferred. The note about ACL blocking is a caution, not a usage guideline, and does not help an agent decide between this and other changeset-related tools.

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/TaiRaven/sn-mcp'

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