Skip to main content
Glama

save_resource_copy

Idempotent

Saves a replacement resource value as a new snapshot in an artifact, letting users export the edited copy from the desktop.

Instructions

Save a new snapshot with this replacement. The user can export it from the desktop.

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": {
      "artifact_id": "<artifact_id>",
      "resource_id": "<resource_id>",
      "value": "<value>"
    },
    "name": "save_resource_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
artifact_idYes
resource_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world behavior, so the description's marginal burden is modest. It hints at snapshot/version semantics but leaves the key question open: does an existing snapshot get overwritten or is a new version appended? Given destructiveHint=false, an agent needs that clarified, and 'export it from the desktop' is irrelevant to invocation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Two short sentences with no padding, and the main action is front-loaded. However, the second sentence is off-topic for an agent caller and the first is compressed to the point of ambiguity, so brevity comes at the cost of information rather than from editing out waste.

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?

An output schema exists so return values need not be explained, but for a three-parameter write tool with 0% schema coverage the description is missing nearly everything an agent needs: what the inputs mean, what state is created, and how this differs from sibling save/preview tools.

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

Parameters1/5

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

Schema description coverage is 0% and none of the three required parameters (artifact_id, resource_id, value) are named or explained in the description. 'This replacement' loosely gestures at 'value' but gives no format, granularity, or relationship between artifact_id and resource_id, so the description does nothing to compensate for the empty schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'save' and the notion of producing 'a new snapshot' give some specificity beyond the tool name, but the object is undefined: 'this replacement' never says what is being replaced or which resource type is involved (artifact vs. resource vs. shortcut). Nothing distinguishes it from save_shortcut_copy or test_save_behavior, so an agent cannot confidently tell what it writes.

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?

There is no when-to-use guidance, no mention of prerequisites, and no pointer to alternatives such as preview_resource_edit or test_save_behavior. The only situational statement ('The user can export it from the desktop') describes a downstream user action rather than when an agent should call this tool.

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