Skip to main content
Glama
miningyu

Scouter MCP Server

by miningyu

Get Alert Scripting

get_alert_scripting
Read-onlyIdempotent

Read alert scripting configuration for a specific counter to see current alert script, threshold rules, and settings. This read-only tool helps review or troubleshoot alert definitions.

Instructions

[HTTP mode only] Read alert scripting configuration for a specific counter (read-only). Shows the current alert script, threshold rules, and configuration. Use get_server_info with include_counter_model to discover available counter names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_loopNoCompile log loop value (from scripting response)
log_indexNoCompile log index value (from scripting response)
counter_nameYesCounter name to read alert scripting config for (e.g., 'TPS', 'ElapsedTime')
include_compile_logNoInclude script compile log (requires loop/index from previous alert scripting response)
Behavior4/5

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

Annotations already indicate readOnly and idempotent, but the description adds the HTTP-mode-only limitation and clarifies the tool returns the current script, threshold rules, and configuration. This adds meaningful context beyond the structured annotations without any contradiction.

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?

Three sentences, each with a purpose: what it does, what it shows, and how to discover counter names. No redundant phrasing, and the core purpose is front-loaded.

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?

Given the tool's simplicity and rich schema/annotations, the description is sufficient: it specifies the HTTP-only mode, output content, and a prerequisite discovery step. No output schema exists, but the description covers key behavior without needing to detail return formats.

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 covers all 4 parameters with descriptions (100% coverage), so baseline is 3. The description adds a discovery hint for counter_name ('Use get_server_info with include_counter_model'), which goes beyond the schema's example values. This small extra guidance justifies a 4.

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 states 'Read alert scripting configuration for a specific counter' with a specific verb and resource, and lists what it shows (current alert script, threshold rules, configuration). It distinguishes from sibling tools like get_alert_summary by targeting scripting config for a counter.

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?

The description provides clear guidance: '[HTTP mode only]' is a usage constraint, and it explicitly directs to get_server_info with include_counter_model for discovering counter names. It does not explicitly mention when not to use this tool, but the alternative guidance is helpful.

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/miningyu/scouter-mcp-server'

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