Skip to main content
Glama

preview_shortcut_remap

Read-only

Preview how a new keyboard shortcut routes to an existing command, revealing conflicts and a digest before saving the remap.

Instructions

Preview how a different chord will route to an existing command, including conflicts and digest.

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>",
      "binding_id": "<binding_id>",
      "shortcut": "<shortcut>"
    },
    "name": "preview_shortcut_remap"
  }
}

Input Schema

NameRequiredDescriptionDefault
shortcutYes
binding_idYes
artifact_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with that (it previews rather than applies). It adds genuine value by disclosing that conflicts and a digest are surfaced, but says nothing about how conflicts are reported or what happens when the chord is already bound.

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?

One front-loaded sentence with zero filler; the action, the outcome, and the returned artifacts are all packed into a single clause.

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

Completeness4/5

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

With an output schema present, return values need not be described, and the readOnly annotation covers the safety profile. The remaining gap is the opaque identifier parameters, which the description does nothing to disambiguate.

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

Parameters2/5

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

Schema description coverage is 0% across three required parameters, so the description carries the burden and largely fails: 'chord' loosely maps to the shortcut parameter, but artifact_id and binding_id are never explained, and no format or scoping guidance is given for shortcut strings.

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 (preview) and resource (routing of a different chord to an existing command), and adds what the preview returns: conflicts and a digest. An agent can tell this is a non-mutating dry run, though the description never explicitly contrasts it with the save_* siblings.

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?

"Preview" implies a check-before-applying workflow, but the description never says when to call it, when not to, or that save_shortcut_copy is the tool that actually persists the remap. Usage must be inferred from the word 'preview' alone.

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