Skip to main content
Glama
foxtrottwist

Shortcuts MCP

by foxtrottwist

run_shortcut

Execute a macOS Shortcut by name, optionally passing input. Automate tasks like checking weather or starting a timer.

Instructions

Execute a macOS Shortcut by name with optional input. Names resolve case-insensitively. If unsure which shortcut to run, call shortcuts_usage with resources: ['shortcuts'] to browse available shortcuts with purpose annotations. Error 1743 means the user must grant automation access in System Settings > Privacy & Security > Automation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoOptional input to pass to the shortcut
nameYesThe name of the Shortcut to run
purposeNoAlways include. Brief phrase describing the user's goal (e.g. 'check weather forecast', 'start focus timer'). Builds annotations that make shortcuts discoverable across sessions.
Behavior4/5

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

Annotations already indicate non-read-only and open-world behavior. Description adds case-insensitive name resolution and specific error handling (Error 1743), which are useful beyond annotations. Could mention return value or side effects, but current content is good.

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?

Three concise sentences. First defines action, second provides guidance to alternative tool, third explains error handling. No fluff, each sentence earns its place.

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?

Missing return value description (no output schema), but error handling and alternative tool reference compensate. Parameter coverage is complete. Overall sufficient for correct invocation.

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 covers all 3 parameters with descriptions. Description adds extra context: case-insensitivity for 'name', and explains the role of 'purpose' (builds annotations for discoverability). Adds value beyond schema.

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?

Clearly states it executes a macOS Shortcut by name with optional input. Distinguishes from sibling 'shortcuts_usage' by directing users to browse shortcuts if unsure. Also mentions case-insensitivity, adding specificity.

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?

Explicitly tells when to use alternative tool ('If unsure which shortcut to run, call shortcuts_usage...'). Also provides context for a common error (1743) and how to resolve it, guiding proper usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/foxtrottwist/shortcuts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server