Skip to main content
Glama

run_osxphotos

Executes osxphotos command-line commands and returns their output, enabling AI assistants to query, inspect, or export an Apple Photos library with specific options.

Instructions

Run an osxphotos command line command and return its output.

    Pass options as separate items, for example command "query" with args
    ["--no-location", "--json"]. Call osxphotos_help first to see a command's options.
    

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

Input Schema

NameRequiredDescriptionDefault
argsNo
commandYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false and destructiveHint=false, and the description adds that the raw command output is returned (though an output schema exists, so that is partly redundant). For a tool that executes arbitrary CLI subcommands, it says nothing about execution scope, timeouts, error behavior, or whether the underlying Photos library can be modified — the agent must assume the command surface is bounded, which is not stated.

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 short sentences, front-loaded with the action and immediately followed by the argument-format example and the help hint. Slightly awkward raw formatting with the stray trailing quote, but no wasted sentences.

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?

The output schema covers return values and the example covers the args convention, so the essentials for invocation are present. What is missing for a broad CLI-execution tool is the boundary of what it can do relative to the structured siblings, plus any note on failure modes or side effects — the agent knows the mechanics but not the guardrails.

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 description coverage is 0%, so the description must carry the parameters, and it largely does: it explains that options are passed as separate items in args, with a worked example ('query' with ['--no-location', '--json']) that shows the tokenization convention. The command parameter's meaning is only implied via the example rather than stated, and the pointer to osxphotos_help substitutes for listing valid values.

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?

The description states a specific verb and resource: it runs an osxphotos command-line command and returns the output. It does not, however, distinguish this general escape hatch from structured siblings such as search_photos, get_photo, or export_photos, so the agent cannot tell from the text alone why it would pick this over a purpose-built tool.

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?

It gives one concrete prerequisite — call osxphotos_help first to see a command's options — which is genuinely useful routing guidance. It gives no guidance on when to use this generic runner versus the dedicated search/export/get tools, and no exclusions or warnings about which commands are appropriate.

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