Skip to main content
Glama
berkingurcan

stellar-agent-search

by berkingurcan

Rank Agent

rank_agent
Read-onlyIdempotent

Rank Stellar on-chain agents by declared-evidence policy using natural language query or explicit agent IDs, with per-axis breakdown and verification.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNoNatural-language query whose candidates are ranked. XOR with agentIds.
sortByNorelevance
verifyNoAttempt the bounded Reputation-contract probe (default on; current probe verifies no reputation fields).
weightsNoDeprecated and rejected when supplied. The v1 policy fixes evidence weights at volume=0.4 and breadth=0.6.
agentIdsNoExplicit agent ids to rank (maximum 50 on this transport). Provide EITHER agentIds OR query, not both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
agentsYes
coverageNo
rankVersionYes
evidenceWeightsYes
Behavior5/5

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

Annotations already mark it as readOnly, idempotent, and non-destructive. The description adds valuable behavioral details: the deterministic policy, that on-chain checks are metadata-only and never inflate rank, and that output includes breakdown and verification blocks. No contradictions with annotations.

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?

The description is a single paragraph that packs significant information without wasted words. It could benefit from bullet points for clarity, but it remains concise and front-loaded with the core policy.

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?

Given the tool's complexity and the existence of an output schema, the description covers the key aspects: ranking formula, XOR requirement, deprecated parameter, and output structure. It lacks a brief note on pagination or sorting, but these are inferable from the schema.

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 coverage is 67% with 4 of 6 parameters described. The description adds context like the XOR constraint and the deprecation of 'weights', but does not explain 'limit' or 'sortBy' beyond schema defaults. This is adequate but not exemplary.

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 explicitly states the tool ranks agents using a deterministic evidence policy, specifying the exact formula. It distinguishes from siblings like 'find_agent' by requiring XOR between agentIds and query, making its purpose clear and unique.

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?

It clearly states the XOR condition ('Provide EITHER agentIds OR query') and warns that 'weights' is deprecated and rejected. However, it does not explicitly describe when to prefer this over siblings like 'leaderboard' or 'verify_reputation', leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berkingurcan/stellar-agent-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server