Skip to main content
Glama

download_file_metadata

Retrieve metadata for a specific file in SharePoint by providing drive and item IDs. Access file details like name, size, and modified date through Microsoft Graph without uploading tokens.

Instructions

Get Drive item metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYes
driveIdYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'Get' which implies a read operation, but it does not state whether any metadata is returned, whether auth is needed, or any side effects. There is no contradiction, but the transparency is minimal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no unnecessary words. However, it is underspecified, lacking important context. It earns its place for purpose clarity but sacrifices necessary detail, making it too terse for proper 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 annotations, no output schema, and a bare input schema, the description should provide more context. It only states the basic purpose without explaining return value, usage scenarios, or differences from sibling tools. This is insufficient for an agent to reliably select and invoke the tool.

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?

The input schema has two required parameters (driveId, itemId) with zero description coverage. The description does not mention or explain either parameter, leaving the agent to infer their meaning from the names alone. This fails to compensate for the lack of schema descriptions.

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 'Get Drive item metadata' clearly states a specific action (get) and resource (Drive item metadata). It is distinct from sibling tools like list_drive_items or upload_file, though it does not explicitly differentiate itself. The name suggests 'download' but the description clarifies it's metadata retrieval, which is somewhat inconsistent.

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 guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, context, or exclusions. The description only states what it does without addressing the decision of when to use it.

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/icemage001/local_sharepoint_mcp'

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