Skip to main content
Glama

anomaly_score

Assess country-day anomaly using isolation forest. Lower scores indicate more anomalous days; top 26% flagged as anomalies for second opinion.

Instructions

Unsupervised Isolation-Forest anomaly score for a country-day. Lower (more negative) = more anomalous; is_anomaly=true means top 26% most anomalous. Second opinion — pair with classifier_score and forecast_multi_horizon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_codeYesISO 3166-1 alpha-2 country code
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the algorithm (unsupervised Isolation-Forest) and output interpretation (negative score = anomaly, is_anomaly threshold). However, it does not disclose potential side effects, authentication needs, rate limits, or data freshness. The description adds value but could be more transparent.

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, front-loaded with the algorithm and purpose, followed by score interpretation and pairing suggestion. Every sentence is informative with no wasted words.

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?

Given the ML nature and lack of output schema, the description provides essential details (algorithm, threshold, pairing) but omits explicit output structure (e.g., single number vs. record, whether multiple outputs per day). It hints at 'is_anomaly=true' but is incomplete for a fully self-contained tool definition.

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% (country_code has a description). The description adds 'for a country-day' context but does not further elaborate on the parameter's meaning or provide additional usage syntax beyond the schema. Baseline 3 is appropriate.

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 identifies the tool as providing an Isolation-Forest anomaly score for a country-day, defines the score interpretation (more negative = more anomalous, is_anomaly threshold at top 26%), and distinguishes from siblings by suggesting pairing with classifier_score and forecast_multi_horizon. This gives a specific verb+resource and helps differentiate among many anomaly tools.

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 explicitly recommends using this tool as a 'second opinion' paired with classifier_score and forecast_multi_horizon, providing clear context for when to use it. However, it does not mention when not to use it or list alternative tools for similar tasks.

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/voidly-ai/mcp-server'

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