Skip to main content
Glama

Grounded DeFi & Security LLM Inference

aegis_grounded_chat
Read-onlyIdempotent

USE WHEN: An AI agent needs OpenAI-compatible LLM inference grounded with real-time Base/Ethereum on-chain security telemetry ($0.005 USDC on Base via x402).

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": {
      "prompt": "<prompt>"
    },
    "name": "aegis_grounded_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoaegis-llama-3.1-8b-default
promptYesQuestion or token security prompt for grounded LLM inferenceIs Base USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 safe to swap?

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: this is a paid call ($0.005 USDC on Base via x402), which tells the agent a payment/authorization flow is involved, and that responses are grounded in live telemetry rather than model memory. It omits latency, rate limits, and failure behavior.

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 front-loaded sentence with the trigger condition first and no filler. The pricing parenthetical is dense but relevant; the sentence runs long, which is the only real cost.

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?

For a two-parameter chat-style tool with no output schema, the description covers purpose, grounding source, and payment rail. It leaves the agent guessing about the response shape, model selection, and whether grounding happens automatically or must be requested inside the prompt.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50% — 'prompt' is documented but 'model' is not — and the description mentions neither parameter. It does not explain available model identifiers, the default model's characteristics, or how the prompt is augmented with on-chain data, so it fails to compensate for the coverage gap.

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 capability — 'OpenAI-compatible LLM inference grounded with real-time Base/Ethereum on-chain security telemetry' — which is specific enough to separate it from the sibling audit/scrape tools by function. It stops short of stating what the caller actually receives (a chat completion), so it is clear but not fully differentiating.

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?

The 'USE WHEN:' prefix signals an intended trigger, which is more than most descriptions offer. However, the condition is essentially a restatement of the tool's own function ('when an agent needs this inference'), and it gives no when-not guidance or routing to siblings such as aegis_token_audit for a targeted check.

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.