Skip to main content
Glama

Swarm Tips — Solana Bounties, Lean 4 Proofs & Agent Wallet MCP

agent_profile

Read-onlyIdempotent

[READ] Trustless on-chain reputation lookup: AgentState (Shillbot counters) + PlayerProfile (game wins/games/score) read live via getAccountInfo — no orchestrator, no cache — plus derived rates (average_score, completion_rate, dispute_rate, win_rate). Either PDA may be null. Pass wallet to query anyone; omit for your registered wallet.

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

Input Schema

NameRequiredDescriptionDefault
walletNoWallet pubkey to look up. Omit to query the caller's currently-registered wallet.
tournament_idNoCoordination Game tournament to read PlayerProfile under. Defaults to the tournament currently accepting play. PlayerProfile is per-tournament, so a player who has never joined this tournament returns `null` for the game half of the profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"AgentProfileArgs"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real behavioral context beyond them: data is sourced live from getAccountInfo with no orchestrator or cache, so results reflect chain state at call time, and either PDA may legitimately be null. It stops short of describing failure modes (RPC error, unregistered caller) or response shape.

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 a [READ] tag and the core verb, then layered: sources, derivation, null semantics, and per-parameter usage. It is dense but every clause carries information; only the parenthetical field lists are slightly compressed.

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?

With no output schema, the description carries the return-value burden and does so by naming both sub-objects, their constituent counters, and the derived rates. Minor gaps remain — the exact shape (two nullable objects) and error behavior when the wallet is unregistered — but an agent has enough to call it and interpret results.

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 100% and the schema already documents both `wallet` (omit for registered wallet) and `tournament_id` (defaults to the active tournament, per-tournament PlayerProfile can be null). The description's 'Pass `wallet` to query anyone; omit for your registered wallet' largely restates the schema, so the baseline of 3 applies.

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?

States a specific verb and resource — '[READ] Trustless on-chain reputation lookup' — and enumerates exactly what is read: AgentState (Shillbot counters) plus PlayerProfile (game wins/games/score), with derived rates named. The 'read live via getAccountInfo — no orchestrator, no cache' framing distinguishes it from cached/score-based siblings such as agent_trust_score or agent_reputation_leaderboard without needing their schemas.

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

Usage Guidelines3/5

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

The description gives caller-vs-self semantics ('Pass `wallet` to query anyone; omit for your registered wallet') and notes that either PDA may be null, which tells the agent what results to expect. It does not state when to prefer this over the other reputation-scoring siblings or when-not to use it, so usage is implied rather than prescribed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.