Skip to main content
Glama

File details

iwork_metadata
Read-only

Reads metadata from Apple Numbers, Keynote, and Pages files to report kind, size, modified date, template, app build, slide count, and embedded media without opening content.

Instructions

What a file says about itself, without the app: kind, size, modified, template it was made from, app builds that saved it, file format version, slide count (Keynote), embedded media count. Use for file facts (template, app build, slide count) without reading content. For the content itself use iwork_read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the .numbers, .key or .pages file (absolute, or starting with ~).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.1
    • addedInput schema / properties / path / description
      Added value: +"Path to the .numbers, .key or .pages file (absolute, or starting with ~)."
  2. First observedv2.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value by scoping what is disclosed (template, app build, slide counts) and framing it as non-content inspection. It stops short of stating edge behavior for non-iWork files, but the annotation coverage lowers the burden.

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, both earning their place, with the capability listed first and the routing rule second. The mid-sentence enumeration is dense but each item is a concrete, useful fact, so it stays readable rather than padded.

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?

With an output schema present, return values need no explanation, and the annotations cover safety. The description is complete enough to invoke correctly; only minor gaps remain around behavior on unsupported or corrupt files, which the sibling/annotation context partially absorbs.

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

Parameters3/5

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

Schema coverage is 100% with a single well-documented 'path' parameter (absolute or ~ paths), so the schema carries the parameter burden. The description adds no additional path syntax, accepted extensions, or format nuances beyond what the schema already states — baseline 3.

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 resource (file metadata) and enumerates exactly what it reports: kind, size, modified, template, app builds, format version, slide count, embedded media count. It also explicitly distinguishes itself from the sibling iwork_read, so an agent can separate the two without opening either schema.

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?

Gives an explicit when-to-use ('use for file facts... without reading content') and names the alternative with its triggering condition ('For the content itself use iwork_read'). Nothing is left to inference for the read-vs-metadata decision.

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