Skip to main content
Glama
pad01g

YaCy Fork Peer-to-Peer Search

Index and network status

index_status
Read-only

Check your YaCy peer's state before or after crawling and searching. See if crawls are running and if global searches can reach other peers.

Instructions

Check the state of your YaCy peer before or after crawling and searching. Returns: 'peer' (name, hash, type virgin/junior/senior, reach direct or relay, whether its seed is signed, version; a virgin peer gets a note on how to become reachable), 'connectedPeers' and 'seniorPeers' (other peers it knows), 'index' (documents, word references, loader and crawler queue sizes, load average; an error text instead without YACY_ADMIN_PASSWORD) and, if the crawler is held back by load, 'crawlerPaused' with the reason. Use it to see whether a crawl is still running (queues above 0) and whether global searches can reach other peers (seniorPeers above 0). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark it readOnlyHint=true, and the description adds real value beyond that: it discloses that the 'index' section degrades to an error text without YACY_ADMIN_PASSWORD, and that crawlerPaused appears only when load holds the crawler back. These are non-obvious runtime behaviors an agent could not get from the annotation.

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?

Front-loaded with purpose and usage in the first sentence, then a dense but organized enumeration of return fields. It is long, but with no output schema the field breakdown earns its space; only the parenthetical detail on virgin-peer notes is arguably expendable.

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 no output schema and no parameters, the description carries the full burden and does so: it enumerates the returned keys, notes the auth-dependent failure mode, and explains how to read the values. An agent can call and interpret this tool correctly from the description alone.

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. Baseline 4 applies; no parameter semantics are needed or missing.

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+resource: check the state of the YaCy peer. It is clearly distinguishable from siblings like delete_document or crawl_control, though it does not explicitly contrast itself with the closest relative, trust_status.

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

Usage Guidelines4/5

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

Gives explicit context ('before or after crawling and searching') and interpretation guidance (queues above 0 = crawl running, seniorPeers above 0 = global reach). It stops short of naming an alternative tool or a when-not-to-use condition, so it is strong context without full routing.

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