Skip to main content
Glama

list_shortcuts

Read-only

Recover Windows virtual-key dispatch, command IDs, and same-language menu labels from a compiled binary to map and inspect keyboard shortcuts.

Instructions

Recover Windows virtual-key dispatch, command IDs and same-language menu labels from the binary.

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>"
    },
    "name": "list_shortcuts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
artifact_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and blast radius are covered. The description adds genuinely useful context beyond that: extraction happens from a binary and labels are only returned for the same language, hinting at coverage limits in the results. It says nothing about pagination, ordering, or what happens when the binary has no shortcut tables, which are the behaviors an agent still needs.

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?

It is a single tight sentence with no filler, and the core data types are front-loaded. The cost is that the brevity is achieved through under-specification rather than economy: no scoping, no pagination, no filtering semantics.

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-value description is not required. But for a four-parameter, paginated, filterable read tool over a binary artifact, omitting any statement about what the filters do and what artifact_id must reference leaves real holes an agent must discover by trial.

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% for all four parameters, and the description mentions none of them. The meaning of artifact_id, query, limit, and offset — particularly whether query matches a label, a command ID, or a virtual-key code — is left entirely undefined, so the description fails to compensate for the schema gap.

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 description has a specific verb ('Recover') and names concrete payloads (virtual-key dispatch codes, command IDs, menu labels), which tells an agent what kind of data comes back. However, it never frames the operation as an enumeration over a binary artifact (the 'list_' semantics) and never mentions keyboard shortcuts by name, so an agent must infer that this is the shortcut lister rather than a symbol or string extractor. No comparison to siblings like list_symbols or find_strings is offered.

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 prerequisite statement about needing a previously loaded artifact, and no pointer to alternatives. The agent must guess that artifact_id refers to something produced by list_artifacts.

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