Skip to main content
Glama
Firenook

Firenook

Official

storage_get_metadata

Read-onlyIdempotent

Retrieve a Firebase Storage object's metadata—content type, size, timestamps, custom metadata, and download tokens—or confirm whether an object exists at a given path.

Instructions

The metadata of one Storage object (content type, size, timestamps, custom metadata, download tokens) or exists:false.

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": {
      "path": "<path>"
    },
    "name": "storage_get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesObject path, e.g. uploads/photo.png
bucketNoStorage bucket; default <project>.appspot.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior by stating the tool returns 'exists:false' rather than failing when the object is absent, and it lists the returned metadata fields — valuable since no output schema exists.

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?

A single compact sentence that front-loads the resource and then the return contents, with no wasted wording. The trailing 'or exists:false' is terse to the point of being slightly cryptic but still decodable.

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?

For a simple two-parameter read tool with full schema coverage and complete annotations, the description covers what is returned and the not-found case. The only real gap is that it does not say how to distinguish a not-found result from other outcomes, but nothing critical to invoking it is missing.

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 description coverage is 100%, with both 'path' and 'bucket' documented in the schema, so the baseline of 3 applies. The description adds no further detail on path format or bucket defaulting beyond what the schema already states.

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 names a specific resource — the metadata of a single Storage object — and enumerates the fields returned (content type, size, timestamps, custom metadata, download tokens), which distinguishes it from siblings like storage_read or storage_list. It lacks an explicit verb ('Retrieve...'), but the resource and scope are unambiguous.

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?

Usage is only implied: 'one Storage object' scopes it to a single path, and the 'exists:false' clause hints it can be used as an existence probe. There is no explicit statement of when to prefer this over storage_read or storage_list, and no prerequisites are given.

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