Skip to main content
Glama

Solana Objective Market & Structure Gates

detect_flow_anomaly

Read-onlyIdempotent

Gate 3: Compute objective 5m/1h order flow ratios, panic selling flags, average trade size ($30 micro-bot threshold), and wash turnover ratio (As-Is telemetry only).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mint": "<mint>"
    },
    "name": "detect_flow_anomaly"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYesSolana SPL token mint address (Base58, 32-44 chars).

Output Schema

NameRequiredDescriptionDefault
metaYes
mintNo
panic_selling_flagNo
wash_turnover_flagNo
micro_volume_bot_flagNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine context beyond that: the exact metric set, the $30 micro-bot classification threshold, and the important data-source restriction that it operates on As-Is telemetry only, meaning results may differ from normalized-data tools. It does not address whether prior normalization is required for valid output, which is the main behavioral ambiguity.

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?

A single dense sentence that front-loads the gate label and then enumerates the computed signals. Every clause carries substantive information, though the metric list is jargon-heavy and would benefit from one clause on what the output means.

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?

With an output schema present, the description need not explain return values, and with a fully documented single parameter it need not explain inputs. Annotations cover safety and idempotency. What remains thin is how this tool relates to normalize_token_snapshot and get_composite_gate_report in the pipeline, but the core call contract is sufficiently complete.

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?

There is a single parameter, mint, with 100% schema description coverage specifying Base58 format and length. The description adds nothing about the parameter, so the schema carries the full burden; a baseline of 3 is appropriate when coverage is this high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete analytical operation and enumerates the specific metrics computed: 5m/1h order flow ratios, panic selling flags, average trade size with a $30 micro-bot threshold, and wash turnover ratio. 'Gate 3' situates it in a gate pipeline, distinguishing it in spirit from siblings like get_composite_gate_report and check_token_structure, though the pipeline position is never explained. Purpose is clear; sibling differentiation is only implied.

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?

There is no explicit when-to-use or when-not-to-use statement, and no sibling is named as an alternative. The 'Gate 3' label and the 'As-Is telemetry only' clause imply a sequencing constraint relative to normalize_token_snapshot, but the agent must infer that rather than read it. Usage is suggested, not specified.

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.