Skip to main content
Glama

generate_app_insights

Generate Application Insights (workspace-based) Bicep template + Log Analytics workspace

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>"
    },
    "name": "generate_app_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesApp Insights component name
locationYesAzure region
retentionDaysNoLog retention in days (30-730, default 90)
applicationTypeNoweb | other (default web)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/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 add one genuinely useful behavioral fact beyond the name: the output includes a companion Log Analytics workspace, which is a hidden dependency a caller would not otherwise expect. It says nothing, however, about whether a template string is returned, whether anything is written to disk, or whether deployment is performed.

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 filler. The '+' construction is slightly telegraphic but still parses cleanly; nothing needs to be cut.

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 simple four-parameter generation tool this is close to sufficient, and it correctly discloses the paired Log Analytics workspace. It stops short of stating the output shape (inline Bicep text vs. file path) or any Azure subscription/resource-group assumptions, which matters because no output schema exists.

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 all four parameters are already documented with types, defaults, and the 30-730 retention range. The description contributes no additional meaning, such as clarifying that retentionDays governs the Log Analytics workspace rather than App Insights itself. Baseline 3 is appropriate.

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?

Names a specific verb (Generate) and resources (workspace-based Application Insights Bicep template plus Log Analytics workspace). The workspace-based qualifier meaningfully narrows the artifact produced, but nothing distinguishes this Azure generator from the many sibling generate_* tools an agent could pick.

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?

There is no when-to-use or when-not-to-use guidance beyond the resource name. With dozens of generate_* siblings, an agent gets no signal about preferring this over another app-hosting generator (App Service, container app, function app) or about prerequisites such as an existing resource group.

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.