Skip to main content
Glama
Firenook

Firenook

Official

auth_remove_claims

DestructiveIdempotent

Remove specific custom claim keys from Firebase Auth emulator users while preserving all remaining claims.

Instructions

Remove the named custom claim keys from an Auth emulator user, keeping its other claims.

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": {
      "keys": "<keys>"
    },
    "name": "auth_remove_claims"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidNoAccount id
keysYesClaim names to remove
uidsNoSeveral account ids (instead of uid)
tenantNoTenant id; omit for a project-level user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is covered. The description adds real value by stating that non-listed claims are preserved, but it says nothing about error behavior for unknown keys or missing users, so the addition is modest.

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 the action first and the preserving-behavior caveat second. No filler, no restatement of the tool name.

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 four-parameter tool with full schema coverage, no output schema, and annotations covering safety and idempotency, the description supplies what the structured fields do not: the preservation guarantee. Only the absence of error or no-op semantics keeps it from a 5.

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 each of uid, keys, uids, and tenant documented in the schema itself. The description only restates that keys are claim names, adding no format or precedence detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource: remove named custom claim keys from an Auth emulator user. The clause 'keeping its other claims' implicitly distinguishes it from auth_set_claims, which would overwrite claims, though no sibling is named outright.

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: the phrase 'keeping its other claims' hints that this is the targeted-removal counterpart to a full claim set, but there is no explicit statement of when to choose this over auth_set_claims or what happens if the user or a key does not exist.

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