Skip to main content
Glama

extract_file_metadata

Extract metadata from files to access contract fields while preventing raw document content from entering agent input.

Instructions

Extract metadata-only file contract fields without allowing raw drawing/document content into agent input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
Behavior3/5

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

With no annotations, the description bears full burden. It discloses that the tool extracts metadata only and prevents raw content from entering agent input, which is a key behavioral trait. However, it lacks details on permissions, error behavior, or side effects.

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?

The description is a single sentence that front-loads the core purpose. It is concise, but the lack of parameter information makes it under-specified for practical use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and a single undocumented parameter, the description is incomplete. It does not cover what the tool returns, how to format the input, or any prerequisites. The agent cannot reliably call this tool based solely on the description.

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

Parameters1/5

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

Schema coverage is 0%, so description must compensate. The description does not explain the 'files' parameter at all—what structure the objects should have, whether these are file IDs or paths, or any constraints. This makes the tool nearly impossible to invoke correctly.

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 clearly states the tool extracts metadata-only file contract fields and explicitly avoids allowing raw content into agent input. However, it does not specify what 'file contract fields' are, leaving some ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives like parse_masked_document. The description implies use for metadata extraction only, but does not provide any context on when not to use it or contrast with sibling tools.

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/trionnemesis/cc-crossbeam-tw'

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