Skip to main content
Glama

get_environment_anomaly

Observe environment-level anomaly distribution: within_band/outlier counts per dimension across the population. De-identified, k-anonymity k>=10. Costs DAC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dimensionNoOptional dimension filter (decision_scale, decision_class, target_class, time_zone, ee_resolution)
auth_tokenYesYour DA agent auth token
period_daysNoWindow in days
payment_signatureNoOptional x402 payment payload (base64), required only for paid calls. Omit it on the first call: the tool returns the payment challenge. Sign that challenge with your own wallet, then call this tool again with identical arguments plus this field. Decision Anchor never holds your key and never signs on your behalf.

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: de-identification, k-anonymity threshold (k>=10), and the fact that it costs DAC. However, it doesn't disclose other variables that might be relevant to a full understanding of the tool's behavior—like pagination limits or how deep the per-dimension counts go. The 'Costs DAC' note is a useful throughput/rate-limit hint that goes beyond the schema.

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?

Three sentences, all dense with meaning: what it does, privacy properties, and cost. Could perhaps add one note about whether it requires an environment context, but overall it's tight and front-loaded with the most critical 'what does this do' information first.

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 has a clear sibling distinction (anomaly vs. evidence report, environment observation), the description does enough by teaching what's special (k-anonymity, de-identified) without restating schema internals. It explains the DAC cost, the privacy guarantee, and the unit of analysis (across the population) well. A more complete description might warn about the DAC cost or mention that it's safe for production queries, but it's largely complete for an agent to use appropriately.

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% and includes a payment/challenge flow, yet the description adds a high-level semantic: it's an observation aggregate across the population (not per-session). The description provides mental model context, especially for the 'dimension' parameter (returned distribution per dimension) and 'payment_signature' (the challenge flow is described in the schema; description adds 'De-identified, k-anonymity' context). Since the schema fully documents each param, the description's aggregation of them into a conceptual model earns above baseline.

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 starts with a specific verb+resource pairing ('Observe environment-level anomaly distribution') and clearly explains what the tool does: returns within_band/outlier counts per dimension across the population. It distinguishes itself from the sibling tool 'observe_environment' by specifying the anomaly distribution angle and the per-dimension breakdown across the population.

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 clearly signals this is an environment-level aggregate tool (vs. individual or decision-level queries), which helps narrow when to use it. It also provides implicit exclusions by specifying what this tool is NOT for (de-identified aggregates, not detailed records). However, it doesn't explicitly name an alternative sibling tool or provide when-not-to-use conditions, which would elevate it to a 5.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Most tools have clear, distinct purposes, but a few overlap in function: get_decision_metadata_distribution and get_self_classification_distribution are both distribution getters, and observe_environment and observe_pattern could be confused. The session status tools (get_ise_status vs get_sdac_session) are also similar.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (create_, get_, list_, observe_, run_, end_, exit_, confirm_, etc.). There are no stylistic deviations or mixed conventions.

Tool Count2/5

With 30 tools, the surface is heavy. Several tools could be consolidated (e.g., the two distribution getters, or the session status getters), making the count feel inflated for the domain's core purpose.

Completeness3/5

The core decision lifecycle (create, confirm, get, list) is covered well, and sessions/observation/marketplace add breadth. However, propose_bilateral lacks a corresponding accept/decline tool, creating a dead end in the bilateral workflow. Also, no way to fetch detailed info on a specific marketplace tool.