Skip to main content
Glama
nx-ai-bridge

nx-ai-bridge

by qiuyekai

save_part_as

Saves the current work part under a new .prt file name and makes the new file the active work part.

Instructions

Save the work part under a new file name; the new file becomes the work part.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "save_part_as"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of the new .prt file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does add one genuinely valuable side effect: the new file becomes the work part, so later operations target it. Beyond that it is silent on mutation-critical behavior — whether an existing file at the path is overwritten, whether the original part file is left untouched, and what errors occur on invalid paths.

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?

A single clause, front-loaded with the action and immediately followed by the post-condition. No filler, no redundancy with the name or schema.

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?

For a one-parameter tool the core semantics are covered, including the work-part switch, and the schema fully documents path. But with no annotations and no output schema, the description should say more about overwrite behavior and the fate of the original file for an agent to invoke it safely.

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?

Schema description coverage is 100% and the single path parameter is documented as "Absolute path of the new .prt file." The description adds nothing beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ("Save the work part") plus the distinguishing modifier "under a new file name", which separates it in spirit from the plain save_part sibling. However, it never names save_part or otherwise explicitly routes the agent, so sibling differentiation is left implicit.

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

Usage Guidelines3/5

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

Usage is implied by the "new file name" phrasing — this is the Save-As path rather than an in-place save — but there is no explicit when-to-use statement, no exclusion against save_part, and no prerequisites (e.g., whether the target directory must exist).

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