Skip to main content
Glama

alert_alert_clear

Clear alert history for a specific rule or for all rules when rule is omitted, resetting alert tracking status.

Instructions

[alert] Clear alert history for a rule (or all if rule omitted). Returns {cleared, rule}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ruleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions return value but does not disclose side effects (e.g., destructiveness, reversibility, authorization requirements). Important behavioral traits are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise: one sentence plus return note. Every word adds value. Front-loaded with purpose. No unnecessary content.

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 simple tool with one optional parameter and an expected output schema, the description covers the essential aspects (what, when optional, return shape). Could be slightly enhanced with example or clarification of 'cleared', but overall adequate.

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?

One parameter 'rule' with schema showing optional string/null. Description adds meaning by explaining that omitting rule clears all history. This adds value beyond the schema, which only shows types and default.

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?

Description clearly states the action ('Clear alert history'), the resource ('for a rule'), and the behavior when rule omitted ('or all if rule omitted'). It also mentions return structure. This distinguishes it from siblings like alert_alert_get or alert_alert_list.

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?

Description implies usage context (clear history for a specific rule or all), but does not explicitly state when to use this tool versus alternatives, nor does it provide prerequisites or conditions. Lacks guidance on when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server