Skip to main content
Glama

generate_function_app

Generate Azure Functions (Consumption or Flex Consumption) Bicep template + storage backing

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>",
      "location": "<location>",
      "runtime": "<runtime>"
    },
    "name": "generate_function_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoY1 (Consumption) | FC1 (Flex Consumption) | EP1 (Premium)
nameYesFunction App name
runtimeYesnode | python | dotnet | java | powershell
locationYesAzure region
runtimeVersionNoRuntime version (e.g. 20 for node, 3.11 for python)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, and it only says a Bicep template plus storage backing is produced. It does not say whether the template is written to disk or returned inline, what files/resources are emitted, whether Azure credentials or a subscription context are required, or whether an existing app name is overwritten. It does add the useful detail that backing storage is included, but that is the only behavioral fact beyond the name.

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 front-loaded sentence fragment with no wasted words; the resource is named first and the delivered artifacts second. It is economical to the point of being slightly under-specified, but nothing is padded or repeated.

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?

With no annotations and no output schema, the description is the only place to learn what the tool emits, and it stops at "Bicep template + storage backing" without describing the return shape or file output. It is minimally adequate for a code-generation tool of this complexity but leaves an agent guessing about the result contract.

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%, so every parameter (sku, name, runtime, location, runtimeVersion) is already documented in the schema, which sets the baseline at 3. The description adds only the consumption/Flex-Consumption plan framing and does not clarify the implicit default for the optional sku or how runtime and runtimeVersion interact.

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?

"Generate Azure Functions ... Bicep template + storage backing" gives a specific verb (generate) and a specific resource (Azure Functions Bicep template with backing storage), and the named plans (Consumption/Flex Consumption) reinforce scope. It is distinguishable from generate_cloud_function or generate_lambda_function by the Azure Functions resource without needing to open the schema, though it never names a sibling to route away from.

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 by the resource name; there is no explicit statement of when to pick this over generate_cloud_function / generate_lambda_function / generate_app_service, nor when a caller should prefer a different template generator. The parenthetical "Consumption or Flex Consumption" hints at plan selection but does not tell the agent how to decide, and it leaves the Premium (EP1) path that the schema allows unaddressed.

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.