Skip to main content
Glama

Create a log dashboard from a template

create_log_dashboard_from_template

Creates a log dashboard from a ready-made template (overview, errors-patterns, http-access, app-otel, containers, host-syslog, databases, jobs, ingestion-cost, incident-war-room, vercel). The template's fields (HTTP status, duration, route…) are detected in the project's logs; pass bindings to choose them yourself ({"status": "attr.http.response.status_code"}; null leaves an optional one empty). When a required field is not found, nothing is created and the answer lists missing (and what was detected): retry with bindings. dry_run: true shows what would be created. incident-war-room takes outage_uuid (window and service of that incident). See list_log_dashboards templates: true for scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoDashboard name. Default: the template name.
dry_runNoInstantiate without saving. Default false.
bindingsNoTemplate field → log field, e.g. {"route": "attr.http.route"}.
outage_uuidNoincident-war-room only: the outage (incident) to open the war room on.
template_idYesTemplate id: overview, errors-patterns, http-access, app-otel, containers, host-syslog, databases, jobs, ingestion-cost, incident-war-room, vercel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations mark this as non-readOnly, non-destructive, non-idempotent, but the description goes further by disclosing the failure mode (nothing is created and `missing` is returned when a required field isn't detected) and the dry-run behavior, which the annotations do not convey.

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?

Dense and front-loaded: purpose first, then bindings, then failure mode, then dry_run. The long parenthetical template list and the trailing list_log_dashboards pointer are slightly bulky but each earns its place by preventing enumeration mistakes.

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 creation tool with no output schema and rich structured params, the definition covers purpose, override mechanism, precondition failure handling, preview, and the special-case parameter. Only the return shape on success is left implicit, which is a minor gap.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: a concrete bindings example with syntax, the rule that null leaves an optional field empty, and the incident-war-room-only semantics of outage_uuid (window and service of that incident).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Creates a log dashboard from a ready-made template') and enumerates the template ids, so the agent can immediately tell this apart from read tools like list_log_dashboards or search_logs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the key operational flow: fields are auto-detected, use `bindings` to override, retry with bindings when `missing` is returned, and `dry_run: true` previews. It also routes to list_log_dashboards for template scores. It lacks an explicit statement of when NOT to use it, but the context is clear.

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.