Skip to main content
Glama

Qumge: Agent Capabilities & Skills

Migrate Cap contract

migrate_cap_contract
Destructive

Controlled same-price contract replacement for an owned live Cap. Prepare an explicit old-to-new mapping bound to the current and pending candidate versions/digest, test that candidate, then activate only its verified snapshot. Does not recharge, purchase, or perform real delivery. Changed deliverables require buyer confirmation for new orders; old orders keep their snapshots.

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": {
      "slug": "<slug>",
      "action": "<action>"
    },
    "name": "migrate_cap_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
actionYes
qumge_keyNoOptional: your Qumge API key, for clients that cannot set an Authorization header. Takes precedence over the header. Never echoed back.
migration_idNo
replacementsNo
source_versionNo
candidate_digestNo
candidate_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the destructive profile is covered. The description adds genuine value beyond that: no recharge/purchase/real delivery, old orders keep their snapshots, and changed deliverables need buyer confirmation. It still doesn't disclose irreversibility of 'activate', permission requirements, or how the qumge_key credential interacts with the operation.

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 tight sentences, front-loaded with the core purpose and followed by the workflow and the boundary conditions. Dense domain jargon ('verified snapshot', 'pending candidate versions/digest') but no filler or repetition.

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 an 8-parameter, destructive, no-output-schema tool with 13% schema coverage, the description covers purpose, workflow ordering, and side-effect boundaries well. Gaps remain on the action enum's two unmentioned values, migration_id usage, and error/recovery behavior, which an agent would need before invoking the non-happy-path stages.

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 only 13%, so the description carries most of the parameter burden. It does illuminate replacements, source_version, candidate_version and candidate_digest via 'explicit old-to-new mapping bound to the current and pending candidate versions/digest', but slug, migration_id, and the repair_review/status action values get no explanation in either place.

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 names a specific verb and resource — 'Controlled same-price contract replacement for an owned live Cap' — and scopes it to a live, owned Cap, which separates it from generic publish/delist siblings. It stops short of naming which sibling to use instead, but the negative scoping ('Does not recharge, purchase, or perform real delivery') already rules out quote/purchase flows.

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?

The description lays out a staged workflow (prepare mapping → test candidate → activate verified snapshot) and states a prerequisite (owned live Cap) plus a buyer-confirmation rule for changed deliverables. It never explicitly says when to choose this over publish_cap or test_cap, so the routing decision is only implied by the 'same-price replacement' framing.

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