Skip to main content
Glama

Run a shortcut

shortcuts_run

Runs a named Shortcut and can pass an input file and save its output, letting you chain actions from many apps including Creator Studio tools.

Instructions

Run a shortcut by name, optionally passing a file as input and saving its output to a file. Shortcuts can chain actions from many apps, including Creator Studio apps' own actions.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
inputNoInput file path
outputNoWhere to save the shortcut's output
overwriteNo
timeoutMinutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, so the safety bar is lower. The description adds genuinely useful context that shortcuts chain actions across many apps (implying arbitrary side effects), but it does not say whether the call blocks until completion, what happens on shortcut failure, or that execution is bounded by a timeout despite a timeoutMinutes parameter existing.

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?

Two sentences, front-loaded with the action and its optional I/O, no wasted preamble. The second sentence is more contextual color than operational detail, but it is short and does add information about what shortcuts can do.

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 a 5-parameter tool with no output schema, the definition covers the core action but leaves execution semantics (blocking, failure, timeout, overwrite scope) and two undocumented parameters unaddressed. Adequate to start a call, incomplete for calling it correctly in edge cases.

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 coverage is only 40%, and the description compensates only partially: 'by name' clarifies that name is a shortcut name, and the sentence about input/output restates the schema's own descriptions for those two params. Nothing explains overwrite (what it overwrites, default false) or timeoutMinutes (1-60, default 10), leaving the two most behavior-affecting parameters undocumented anywhere.

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 and resource ('Run a shortcut by name') and adds the file-input/file-output capability. It is clear what the tool does, but it never distinguishes itself from siblings such as shortcuts_list or app_shortcut_actions, so an agent gets no differentiation signal from the description itself.

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?

Usage is only implied: 'Run a shortcut by name' presupposes a shortcut already exists, and the file-in/file-out note hints at the automation context. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., listing shortcuts first via shortcuts_list), so the agent must infer routing.

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