Skip to main content
Glama

mt_get_swarm_stats

Read-only

Retrieve global Swarm Intelligence statistics—total agents, endorsements, average trust score, propagation depth, and top trusted agents—to assess network trust and agent reputation.

Instructions

Get global Swarm Intelligence statistics.

Returns total agents, endorsements, seed agents, average trust score, propagation depth, and top trusted agents.

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": "mt_get_swarm_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description only needs to add context. It does add that the stats are 'global' (unfiltered aggregate), which is useful, but it spends most of its words restating return fields rather than disclosing scope limits or freshness.

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?

Two short sentences, front-loaded with the purpose. The enumerated return fields are mildly redundant given an output schema exists, but they are compact and readable.

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?

For a zero-parameter read-only tool with an output schema, the definition covers what the tool does and roughly what comes back. Only the routing context (when to prefer this over the swarm graph or other stats tools) is missing.

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 no parameters, so there is no parameter meaning for the description to supply; baseline 4 applies. The description correctly implies no filtering arguments exist by describing the result as 'global'.

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?

States a specific verb and resource ('Get global Swarm Intelligence statistics'), so an agent knows exactly what the tool returns. It does not distinguish itself from closely named siblings such as mt_get_swarm_graph or moltguard_stats, which would require opening each schema.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives for related data such as the swarm graph or other stats endpoints. The agent must infer that this is the aggregate-summary option.

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