Skip to main content
Glama
advantagescope-mcp

advantagescope-mcp

by YianXie

signal_stats

Read-only

Summarize signal behavior over a time range—counts, extrema with times, time-weighted mean/deviation, first/last values, and state seconds for text/boolean signals to compare runs.

Instructions

Summarize signals over a time range: count, min and max with their times, mean, standard deviation, first and last. Includes the value already in effect when the range starts; mean and deviation are weighted by time. count is the number of samples that arrived, so 0 means the value did not update. Text and boolean signals report the seconds spent in each value. Call it on two logs to compare runs.

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": {
      "source": "<source>",
      "signals": "<signals>"
    },
    "name": "signal_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLike start. Omit for the end of the source
startNoSeconds from the start of the source; negative counts back from the end
sourceYes'live', 'latest', or a log path from list_logs
signalsYesSignal names or struct field paths
enabled_onlyNoOnly use data from while the robot was enabled

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint=false, so the safety profile is covered; the description goes further by disclosing non-obvious semantics — the value in effect at range start is included, mean/deviation are time-weighted, count means samples arrived (0 = no update), and text/boolean signals report time-in-state instead of numeric stats. It stops short of stating error behavior for unknown signal names or what 'live' vs a log path changes in the result.

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?

Front-loaded with the purpose and full output vocabulary, then layered with qualifiers, ending on the one actionable usage tip. No filler sentences; every clause carries information an agent would otherwise have to guess.

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 correctly carries the burden of explaining what comes back, including per-signal-type behavior for numeric vs text/boolean signals. The main residual gap is failure modes (invalid signal names, empty ranges) and how 'live' source behaves, which an agent may need before calling.

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%, so the baseline is 3; the description adds a bit more by clarifying that range boundaries pull in the previously-in-effect value, which explains the start/end semantics in behavioral terms. It still adds no detail on 'enabled_only' or the signals array beyond what the schema states.

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?

A specific verb ('Summarize') plus resource ('signals over a time range') followed by an enumeration of every statistic returned: count, min/max with times, mean, standard deviation, first, last. An agent can tell this apart from a raw-read sibling like read_signals purely from the description.

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?

Offers one concrete use case ('Call it on two logs to compare runs'), which genuinely implies when to reach for it over raw reads. However, it never names an alternative tool or states an exclusion (e.g., when to use read_signals instead), so the guidance is implied rather than explicit.

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