Stellar Agent Search

v0.1.0
io.github.berkingurcan/stellar-agent-search Checked 9 hours ago Published 4 months ago

Discover and rank Stellar 8004 agents with a read-only MCP server and fail-closed contract probes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_agent Find Agent

Natural-language discovery of on-chain Stellar (stellar-8004) agents. Returns a ranked list with capability/reputation signals. Use rank_agent for per-axis breakdowns and get_agent_profile for full detail. Agent names/descriptions are self-declared (unverified) and live only in each row's labeled `selfDeclared` slot.

ParameterTypeDescription
query *stringNatural-language description, e.g. 'a paid web scraper with a good reputation'.
hasServicesbooleanWhen present, require owner-declared service endpoint candidates.
limitinteger
minExplorerScorenumberMinimum upstream v1 Explorer total_score in protocol units; not local rank.
minScorenumberDeprecated ambiguous input; rejected. Use minExplorerScore.
mppbooleanWhen present, require MPP micropayment support.
sortBystring
truststringRequire a trust model.
verifybooleanProbe the Reputation contract for the top results (slower; current probe verifies no reputation fields).
x402booleanWhen present, require x402 (USDC pay-per-call) support.

rank_agent Rank Agent

Rank an explicit agent set or a query's candidates using the deterministic declared-evidence policy: normalized indexed average × fixed evidence strength (0.4 capped volume + 0.6 breadth). Owner-declared capability fields add zero. On-chain checks are evidence metadata and never inflate rank. Every row carries a full per-axis `breakdown` and a declared-vs-verified `verification` block. Provide EITHER agentIds OR query.

ParameterTypeDescription
agentIdsarrayExplicit agent ids to rank (maximum 50 on this transport). Provide EITHER agentIds OR query, not both.
limitinteger
querystringNatural-language query whose candidates are ranked. XOR with agentIds.
sortBystring
verifybooleanAttempt the bounded Reputation-contract probe (default on; current probe verifies no reputation fields).
weightsobjectDeprecated and rejected when supplied. The v1 policy fixes evidence weights at volume=0.4 and breadth=0.6.

get_agent_profile Get Agent Profile

Full profile for one agent: typed identity, capabilities, declared scores, a rank breakdown, bounded Reputation-contract reachability status, recent feedback, the canonical stellar:{network}:{identity}#{id} handle, and an explicitly unverified derived A2A-shaped projection. The current probe verifies no reputation fields. No A2A conformance or endpoint ownership is implied; self-declared text is confined to labeled `selfDeclared` slots.

ParameterTypeDescription
agent *Numeric agent id, numeric string, or a full stellar:{network}:{identity}#{id} handle.
feedbackLimitinteger
verifybooleanAttempt the bounded Reputation-contract probe (default on; current probe verifies no reputation fields).

list_services List Services

Catalog of self-declared service endpoint candidates, each with its owning agent's indexed owner-declared capability/trust signals and ranked score. Filter by x402/mpp/trust/minExplorerScore/search. No endpoint is probed for liveness, ownership, protocol conformance, or payment behavior. Service labels/endpoints are unverified and live in each row's labeled `selfDeclared` slot.

ParameterTypeDescription
limitinteger
minExplorerScorenumberMinimum upstream v1 Explorer total_score in protocol units; not local rank.
minScorenumberDeprecated ambiguous input; rejected. Use minExplorerScore.
mppbooleanWhen present, only MPP micropayment services.
pageinteger
searchstringFree-text filter over agent name/description.
truststring
x402booleanWhen present, only x402 (USDC pay-per-call) services.

list_agents List Agents

Paginated, filterable listing of registered agents, ranked by the 3-axis engine. Filter by x402/mpp/hasServices/trust/minExplorerScore. Self-declared text lives in each row's labeled `selfDeclared` slot.

ParameterTypeDescription
hasServicesboolean
limitinteger
minExplorerScorenumberMinimum upstream v1 Explorer total_score in protocol units; not local rank.
minScorenumberDeprecated ambiguous input; rejected. Use minExplorerScore.
mppbooleanWhen present, require indexed MPP support.
pageinteger
sortBystring
truststring
verifybooleanProbe the Reputation contract for the top results; current probe verifies no reputation fields.
x402boolean

leaderboard Leaderboard

Top-ranked agents in a bounded registry scan (or filter), by the 3-axis engine, with per-axis `breakdown`. On-chain verification of the top rows is optional. Coverage states whether the scan exhausted the filtered set; self-declared text lives in each row's labeled `selfDeclared` slot.

ParameterTypeDescription
hasServicesboolean
limitinteger
minExplorerScorenumberMinimum upstream v1 Explorer total_score in protocol units; not local rank.
minScorenumberDeprecated ambiguous input; rejected. Use minExplorerScore.
mppbooleanWhen present, require indexed MPP support.
truststring
verifybooleanProbe the Reputation contract for the top results; current probe verifies no reputation fields.
x402boolean

resolve_agent Resolve Agent

Resolve any agent reference (id, numeric string, stellar handle, or owner G-address) to the canonical typed identifiers (numeric id + stellar + CAIP-2). Owner addresses expand the current owner API page (up to 20); coverage reports whether more rows may exist.

ParameterTypeDescription
ref *Agent id, numeric string, stellar:{network}:{identity}#{id} handle, or owner G-address.

get_agents_by_owner Get Agents By Owner

List the owner endpoint's current page (up to 20 agents), ranked by the 3-axis engine. Coverage explicitly reports whether more owner rows exist. Self-declared text lives in each row's labeled `selfDeclared` slot.

ParameterTypeDescription
owner *stringOwner account (Stellar G-address).
limitinteger
verifyboolean

get_agent_feedback Get Agent Feedback

Recent Explorer-indexed on-chain feedback for one agent (client-authored, untrusted → returned in a labeled `selfDeclared` slot, sanitized). Revoked entries are hidden unless includeRevoked is set.

ParameterTypeDescription
agent *Numeric agent id, numeric string, or a full stellar handle.
includeRevokedboolean
limitinteger
pageinteger
tagstringFilter by feedback tag.

verify_reputation Verify Reputation

Fail-closed reputation observation for one agent. The current Reputation contract has no authoritative client-set count/cursor and expired index entries can create holes, so the server performs one bounded reachability read but does not call get_summary or claim a diff. Current attempted checks return unavailable with explicit scope; skipped means not attempted.

ParameterTypeDescription
agent *Numeric agent id, numeric string, or a full stellar handle.

get_agent_card Get Derived A2A Projection

Unverified A2A-shaped projection from indexed Stellar 8004 metadata. It is not an agent-published AgentCard and proves neither A2A conformance nor endpoint ownership. Owner-authored metadata and service candidates are isolated under `card.selfDeclared`.

ParameterTypeDescription
agent *Numeric agent id, numeric string, or a full stellar:{network}:{identity}#{id} handle.
verifybooleanAttempt the bounded Reputation-contract reachability probe; it does not verify reputation fields, A2A conformance, or endpoints.

get_registry_stats Get Registry Stats

Explorer v1 registry counts plus sampled metrics, with explicit metric definitions, 5,000-agent sample cap, non-global distribution warning, and snapshot limitations.

get_registry_health Get Registry Health

Per-registry indexer health: last indexed ledger and staleness for the identity, reputation, and validation indexers. Staleness weakens the freshness of Explorer-declared data; it does not make a bounded contract read exhaustive.