Skip to main content
Glama

jev_stats

Retrieve session telemetry to monitor System-1 calls, cache hit rate, latency, token usage, USD cost, and ALLOW/BLOCK gate counts for auditing and optimizing Jev CodeGuard decisions.

Instructions

Returns session telemetry: total System-1 calls, SHA-256 cache hit rate, average latency (ms), token usage, USD cost, and ALLOW/BLOCK gate counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jev_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully reveals the contents of the response and the units for latency (ms) and cost (USD), and "session" implies per-session scope. However, it never states that the call is read-only, whether counters reset, whether scope is current session vs. cumulative, or how the gates are counted.

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?

One sentence, zero wasted words, front-loaded with the core claim and then a dense enumeration of the returned fields. Nothing is repeated from structured data because there is no structured data to repeat.

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 no output schema, the description does the right thing by listing the return fields so an agent knows what it will get. For a zero-parameter stats tool that is nearly sufficient; only the scope (session vs. cumulative), read-only nature, and reset behavior remain unstated.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The schema is an empty object with 100% coverage, and the description correctly spends its words on outputs instead.

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 opens with a specific verb+resource ("Returns session telemetry") and then enumerates the exact metrics: System-1 calls, SHA-256 cache hit rate, latency, tokens, USD cost, gate counts. That is far more specific than the bare name. It does not explicitly contrast itself against the action-oriented siblings (jev_decide, jev_guard_action, etc.), so it stops short of 5.

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 statement, no mention of when not to use it, and no named alternative. Usage is only implied by the word "telemetry" and the fact that it takes no parameters, which an agent can infer but is not told.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.