Skip to main content
Glama
m0rvayne

mcp-osascript

file_open

Opens an existing file or folder at an absolute path using the default app or a specified application. For local paths only; URLs are not supported.

Instructions

Open an existing file or folder with its default application, or with the application named in 'app'. The path must be absolute and must already exist. URLs are refused — use open_url, which enforces the scheme allowlist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoApplication to open the file with. If omitted, uses the default app.
pathYesFile or folder path to open.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.3

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It transparently states the action (open), the accepted inputs (file/folder), the path constraints, and the URL refusal. It does not mention return values or error behavior, but for a simple open action this is minor. Overall, it provides solid transparency for a tool of this simplicity.

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?

The description is two sentences, front-loads the core action, and packs all necessary constraints and alternatives with zero redundancy. Every sentence earns its place.

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?

For a simple tool with full schema coverage and no output schema required, the description covers all essential aspects: the action, parameter usage, constraints, and an explicit alternative. An agent has all needed information to invoke it correctly.

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 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema by explaining that 'app' overrides the default and that 'path' must be absolute and pre-existing. This enriches the parameters and helps the agent use them correctly.

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?

The description clearly states the tool opens an existing file or folder using the default application or a specified app. It explicitly differentiates from open_url by refusing URLs, making its purpose unambiguous and distinct from the sibling tool.

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?

The description explicitly provides usage guidance: it mandates absolute paths, requires the path to already exist, and excludes URLs with a direct pointer to open_url as the alternative. This gives the agent clear when-to-use and when-not-to-use instructions.

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