Skip to main content
Glama

generate_firebase_functions

Generate Firebase Functions source code, configuration, deploy commands, and trigger-specific setup

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": {
      "name": "<name>",
      "trigger": "<trigger>"
    },
    "name": "generate_firebase_functions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFunction name
memoryNoMemory allocation (e.g. 256MB, 1GB)
regionNoGCP region
runtimeNoRuntime
triggerYesTrigger type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It lists the kinds of artifacts produced, but does not say whether files are written to disk, whether existing files are overwritten, whether deployment occurs, or what permissions or side effects are involved.

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?

The definition is a single tightly structured sentence that front-loads the verb and lists the generated artifacts without filler. Every phrase contributes to identifying what the tool produces.

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

Completeness3/5

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

For a five-parameter generator with no annotations and no output schema, the description identifies the generated artifact types but does not explain return format, file-writing behavior, or deployment boundaries. It is minimally adequate but leaves important agent-facing context unstated.

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?

The input schema has 100% description coverage for all five parameters, including two enums for runtime and trigger, so the schema already carries the parameter semantics. The description adds only a general mention of trigger-specific setup and does not explain naming, memory, region, or runtime usage beyond the schema.

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, resource, and set of generated artifacts: Firebase Functions source code, configuration, deploy commands, and trigger-specific setup. It is clearly about Firebase Functions rather than hosting or other generators, though it does not explicitly differentiate itself from sibling generate_* tools.

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?

It does not state when to use this tool, when not to use it, prerequisites, or alternatives among the many generate_* siblings. The purpose implies it is used to generate Firebase Functions assets, but no actionable usage guidance is provided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.