Skip to main content
Glama

generate_container_app

Generate Azure Container Apps environment + Container App Bicep template (recommended for stateless workloads, BEAM releases)

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>",
      "image": "<image>",
      "targetPort": "<targetPort>"
    },
    "name": "generate_container_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpuNoCPU cores (0.25, 0.5, 1.0, 2.0)
nameYesContainer App name
imageYesContainer image (e.g. registry.azurecr.io/app:v1)
memoryNoMemory (0.5Gi, 1Gi, 2Gi, 4Gi)
locationYesAzure region
healthPathNoHTTP path for liveness and readiness probes (default /health)
targetPortYesContainer port (e.g. 4000)
maxReplicasNoMaximum replicas
minReplicasNoMinimum replicas (0 for scale-to-zero)
allowedOriginsNoBrowser origins allowed by CORS (e.g. https://app.example.com). Omitted → no CORS policy (same-origin only); '*' is never emitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / allowedOrigins
      Added value: +{
      +  "description": "Browser origins allowed by CORS (e.g. https://app.example.com). Omitted → no CORS policy (same-origin only); '*' is never emitted",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / healthPath
      Added value: +{
      +  "description": "HTTP path for liveness and readiness probes (default /health)",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does clarify the artifact type (a Bicep template) rather than a deployed resource, which is meaningful behavioral information. But it never states whether anything is written to disk or returned inline, whether the generated template is idempotent, or what authorization/context is required to produce it.

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 with no filler; the resource is named before the qualifier. It is arguably too terse for a ten-parameter infrastructure generator, but nothing in it is redundant.

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 ten-parameter IaC generator with no annotations and no output schema, the description covers purpose and a rough usage context but omits what the agent receives back and how to consume it. Full schema coverage offsets the missing parameter prose, leaving a definition that is adequate but thin.

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 description coverage is 100% with per-field descriptions that already explain accepted CPU/memory values, the healthPath default, minReplicas=0 for scale-to-zero, and CORS semantics. The description adds nothing beyond that, but the baseline for full coverage is 3; it earns slightly more because the runtime framing ("stateless workloads") contextualizes why replica and port parameters exist.

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 verb ("Generate") and two concrete resources: an Azure Container Apps environment and a Container App Bicep template. "Container App" distinguishes it from the similarly-named sibling generate_blob_container, which targets blob storage rather than compute, so an agent can route correctly without opening the schema.

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 parenthetical "recommended for stateless workloads, BEAM releases" gives a positive selection hint, which is more than nothing. However, it offers no exclusions (e.g. use a different generator for stateful or Kubernetes workloads) and does not name an alternative tool, so the agent must infer when this is the wrong choice.

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.