Skip to main content
Glama

test_save_behavior

Test how save settings affect actual output by running real saves in fresh Sublime Text processes, varying one setting at a time and returning observed text and measured effects.

Instructions

Run real saves in fresh Sublime Text processes, vary one setting at a time and replay the exported project. Returns actual output text, inferred defaults, measured effects and verified project ID. Optional samples are up to four plain-text strings with LF line endings.

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": {
      "trim_trailing_spaces": "<trim_trailing_spaces>",
      "ensure_final_newline": "<ensure_final_newline>"
    },
    "name": "test_save_behavior"
  }
}

Input Schema

NameRequiredDescriptionDefault
samplesNo
ensure_final_newlineYes
trim_trailing_spacesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, and the description supports that by explaining saves happen in fresh processes against a replayed export rather than the user's live project, which is exactly the reassurance an agent needs. It also lists what comes back (actual output text, inferred defaults, measured effects, verified project ID). It stops short of saying whether temp artifacts are cleaned up or how long process spawning takes.

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?

Three sentences with no filler, and the core behavior is front-loaded before the return-value and parameter notes. The second sentence packs several distinct claims together, which is dense but still readable.

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?

An output schema exists, so the return summary is a bonus rather than a necessity. However, for a tool that spawns real editor processes, the description never resolves how passing two required booleans squares with 'vary one setting at a time', nor what happens to the exported project or any files written during the run.

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 coverage is 0%, so the description carries the full burden. It does add real meaning for 'samples' (up to four plain-text strings, LF line endings), but the two required booleans, trim_trailing_spaces and ensure_final_newline, are never explained, leaving unclear whether they are the settings under test or the expected outcomes.

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 gives a concrete verb and subject: it runs real saves inside fresh Sublime Text processes, varies one setting at a time, and replays an exported project. That is specific enough to distinguish it from siblings like save_lab_status or compare_artifacts, but it never names an alternative or states the boundary explicitly.

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 only implied: the 'vary one setting at a time and replay the exported project' phrasing suggests an empirical verification scenario, but there is no statement of when to choose this over explain_app_behavior or preview_* tools, and no prerequisites or exclusions are given.

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