Skip to main content
Glama
Firenook

Firenook

Official

firestore_get

Read-onlyIdempotent

Read a single Firestore document by path and return its fields as plain JSON, or exists:false when missing. Optionally target a specific database id.

Instructions

Read one Firestore document by path (collection/document[/subcollection/document]); returns its fields as plain JSON 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": "firestore_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDocument path, e.g. users/alice
databaseNoFirestore database id; default (default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: it discloses the return behavior (fields as plain JSON, or exists:false for a missing document), which an agent cannot infer from annotations or schema. It is silent on permission/auth failures, but that is a minor gap given the annotation coverage.

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?

A single front-loaded sentence with no filler: verb, resource, path grammar, and return shape in that order. Nothing is redundant and nothing needs trimming.

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 two-parameter read tool with full annotations and no output schema, the definition covers the essentials, including return semantics that the missing output schema would otherwise leave unknown. Only secondary details, such as behavior on permission errors or very deep path nesting, are unaddressed.

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 coverage is 100%, so the baseline is 3, but the description earns more by extending the path semantics beyond the schema's simple "users/alice" example to explicit nested subcollection support. The database parameter is left to the schema, which documents it adequately.

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 pairs a specific verb ("Read") with a precise resource ("one Firestore document by path") and even shows the path grammar "collection/document[/subcollection/document]". That phrasing inherently separates it from single-purpose siblings like firestore_query, firestore_count, and firestore_list_collections without needing to name them.

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?

The stated scope (one document, by path) implies when this tool is appropriate, but the description never explicitly contrasts it with firestore_query or firestore_list_collections, nor does it state that you must already know the exact document path. Usage is inferable rather than instructed.

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