Skip to main content
Glama

Correct upload systems

correct_source_system

Correct how uploaded files are grouped into systems: move or split files, merge a system into another, or rename one. Use exact systems and paths from list_sources, and ask your human for the precise choice. It only re-homes files, never removes anything from the map, and a person can undo it on Sources › Scans. Refused while a scan runs; an approval key asks an admin instead. Details: maplith://docs/mcp. Needs: an autonomous key that sees the whole map.

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": {
      "operation": "<operation>",
      "source": "<source>",
      "target": "<target>"
    },
    "name": "correct_source_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoExact files from list_sources for move/split. Omit for merge/rename.
sourceYesExact source system from list_sources.
targetYesExisting system for move/merge; new system name for split/rename.
operationYesmove: paths into the existing target. split: paths into a new system named target. merge: source into target. rename: source becomes target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / operation / description
      Previous value: -"move: paths into the existing target. split: paths into a new system named target. merge: the whole source into target. rename: source becomes target."New value: +"move: paths into the existing target. split: paths into a new system named target. merge: source into target. rename: source becomes target."
  2. Changed1 schema field changed
    • changedInput schema / properties / operation / description
      Previous value: -"move: re-home paths into an existing target system. split: re-home paths into a new system named target. merge: fold the whole source system into the existing target. rename: give the whole source system the new name target."New value: +"move: paths into the existing target. split: paths into a new system named target. merge: the whole source into target. rename: source becomes target."
  3. Changed1 schema field changed
    • addedInput schema / properties / operation / description
      Added value: +"move: re-home paths into an existing target system. split: re-home paths into a new system named target. merge: fold the whole source system into the existing target. rename: give the whole source system the new name target."
  4. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations say destructiveHint=false and readOnlyHint=false, and the description corroborates rather than contradicts that: 'it only re-homes files, never removes anything from the map,' plus undo via Sources › Scans. It further discloses the scan-running refusal, the approval-key escalation, and the auth requirement ('an autonomous key that sees the whole map') — all context the annotations cannot carry.

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?

Purpose is front-loaded in the first clause, followed by operation list, value provenance, side-effect guarantee, failure modes, and a docs pointer. Every sentence carries a distinct operational fact; nothing is repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-destructive-but-mutating tool with no output schema and full annotation coverage, an agent needs to know scope, value sources, blocking conditions, reversibility, and auth. All five are present, so nothing material is missing before calling it.

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

Parameters5/5

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

Schema coverage is 100% and the enum already defines the four operations, so the baseline would be 3. The description adds provenance guidance that the schema lacks — that `source`, `target`, and `paths` must be values copied exactly from list_sources — which is precisely the failure mode for this tool.

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?

States a specific verb and resource ('correct how uploaded files are grouped into systems') and then enumerates the four concrete operations: move, split, merge, rename. An agent can distinguish this from list_sources (which only supplies exact names) without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions (use exact systems and paths from list_sources, ask your human for the precise choice), an explicit when-not (refused while a scan runs), and the escalation path (an approval key asks an admin instead). That covers prerequisites, blocking conditions, and the fallback route in one compact passage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources