Skip to main content
Glama

Create an AI Alert pack from a plan

create_alert_pack
Idempotent

Requires an approved AlertForge account connection. OAuth-aware clients should start AlertForge's secure authorization flow and ask the user only to sign in and approve. Setup: https://alertforge.ai/ai-agents#agent-setup. Spends credits. Consumes a plan from plan_alert_pack and creates its alert(s). Requires an active AlertForge subscription (checked at this step, not at planning) -- fails with 'subscription_required' otherwise. Calling this again with the same planId after it already succeeded is safe -- it returns the same pack rather than creating a second one or charging twice. A single failed alert does not fail the whole call -- check each entry's error field in the result. Returns immediately, before any alert has rendered -- call get_alert_pack_status afterward to check progress. Timing varies by model, queue, processing route, and provider demand.

Input Schema

NameRequiredDescriptionDefault
planIdYesplanId returned by plan_alert_pack.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: credit spend, subscription gating at execution rather than planning, per-alert partial failure semantics with the `error` field, and asynchronous return before rendering. The idempotency detail (same planId returns the same pack, no double charge) elaborates on idempotentHint rather than merely restating 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?

Dense but every sentence carries operational value — auth, billing, subscription, idempotency, partial failure, async. Slightly crowded, with billing and subscription split across separate sentences, but nothing is filler.

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

Completeness5/5

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

Covers everything an agent needs for a mutating, paid, asynchronous tool: auth flow, cost, failure mode string, idempotent retry safety, per-entry error handling, and the required status-polling step. No output schema, but return-shape expectations are described.

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 coverage is 100% and the single planId parameter is fully documented in the schema. The description only reinforces that reusing the same planId is safe, which is an idempotency behavior rather than new parameter meaning, so the baseline 3 applies.

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?

States a specific verb+resource: 'Consumes a plan from plan_alert_pack and creates its alert(s).' It names the upstream sibling that produces the input, so an agent can place it precisely in the plan→create→status workflow.

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

Usage Guidelines5/5

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

Explicit preconditions (approved AlertForge connection, OAuth sign-in, active subscription checked at this step) and explicit follow-up routing to get_alert_pack_status. It also tells the agent what to do if the call fails with 'subscription_required'.

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.