Skip to main content
Glama
mbgolden

fleetalert-mcp

by mbgolden

get_raw_spans

Read-onlyIdempotent

Retrieve raw trace spans for a FleetAlert alert with full input and output when summary trace data is insufficient. Filter by span kind and limit results to the most recent spans.

Instructions

Raw trace spans for an alert, newest last, with full input and output. Large; prefer get_trace unless you need the detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoFilter by span kind.all
limitNoMost recent spans to return.
alert_idYesFleetAlert alert id, e.g. ALERT-1001.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
spansYes
totalYes
alert_idYes
returnedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, idempotent operation. The description adds useful behavioral context beyond those annotations: results are ordered newest last, include full input and output, and are large enough that the lighter sibling should usually be preferred.

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?

Two sentences, front-loaded with the resource and immediately followed by the practical usage constraint. There is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With rich annotations, full schema coverage, and an output schema present, the description supplies the remaining decision-relevant context: size, ordering, detail level, and when to prefer the sibling tool. Nothing essential is missing.

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?

Schema description coverage is 100%, so alert_id, kind, and limit are already documented in the input schema. The description mentions the alert scope but does not add syntax or filtering semantics beyond what the schema provides.

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 states a specific resource and scope: raw trace spans for an alert, with full input and output. It also distinguishes this tool from the sibling get_trace by framing itself as the detailed option.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly names the preferred alternative, get_trace, and gives the condition for choosing this tool instead: only when you need the detail. This is direct routing guidance an agent can act on.

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