Skip to main content
Glama

Shortcuts Run

shortcuts_run
Destructive

Runs one of the user's macOS Shortcuts (Atajos) by name or identifier — the way Mac users already automate HomeKit, Focus modes, and third-party app actions the catalog doesn't cover. It runs the shortcut's OWN actions under the shortcut's own permissions, not a sandboxed subset — the same as clicking Run in the Shortcuts app. This is a write operation: the first call (confirm=false) returns a preview naming the shortcut, its identifier, and its folder, without running anything; set confirm=true to actually run it. A name that matches more than one shortcut is refused with both identifiers — call again with one of those, never guessed. A shortcut that waits on a dialog or runs long is stopped after a bounded timeout with a clear message instead of hanging this call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to actually run the shortcut. Without it, returns a preview.
input_textNoOptional text input for the shortcut, passed via a temp file — omit if the shortcut takes no input.
name_or_identifierYesShortcut name or identifier, from shortcuts_list. An ambiguous name is refused — pass the identifier instead.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only say readOnly=false, destructive=true, openWorld=true; the description adds real behavioral context beyond that: the confirm=false preview vs. confirm=true execution split, that the shortcut runs its OWN actions under its own permissions rather than a sandboxed subset, that ambiguous names are refused rather than guessed, and that long/dialog-blocked shortcuts are bounded by a timeout instead of hanging.

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?

A single dense paragraph that front-loads the core purpose before the confirm flow, error behavior, and timeout. It is on the long side for three parameters, but nearly every sentence carries distinct operational information, so little is wasted.

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?

An output schema exists, so return formatting need not be restated. Given that, the description covers everything an agent needs: when the tool is appropriate, the two-step confirmation requirement, ambiguity handling, permission scope, and timeout behavior.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds semantics the schema does not: the two-step confirm ritual (preview names shortcut, identifier, and folder; confirm=true actually runs it), the refusal-and-retry behavior for ambiguous identifiers, and that input_text is passed via a temp file.

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 ('Runs one of the user's macOS Shortcuts by name or identifier') and immediately differentiates itself from the catalog by explaining it covers automation the rest of the tool set does not. An agent can distinguish this from shortcuts_list and shortcuts_view without opening any schema.

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

Usage Guidelines4/5

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

Explains the context of use ('the way Mac users already automate HomeKit, Focus modes, and third-party app actions the catalog doesn't cover') and the prerequisite that the name comes from shortcuts_list. It does not explicitly name or rule out near alternatives such as recipe_run or run_terminal_command, so it stops short of full when/when-not routing.

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