get_agent_trust
Retrieve trust scores for ACP agents to assess reliability before interactions. Provides scores from 0-100 with verdicts and breakdowns for informed decision-making.
Instructions
Get the Maiat trust score for an ACP agent address. Returns trust score (0-100), verdict, and breakdown. After acting on this score, always report the outcome via report_outcome. If you interact with this agent, consider leaving a review.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Ethereum/Base wallet address (0x...) of the agent |
Implementation Reference
- packages/mcp-server/src/index.ts:58-91 (handler)The handler for the 'get_agent_trust' tool, which uses the Maiat SDK to fetch trust information for a given agent address.
server.tool( "get_agent_trust", "Get the Maiat trust score for an ACP agent address. Returns trust score (0-100), verdict, and breakdown. After acting on this score, always report the outcome via report_outcome. If you interact with this agent, consider leaving a review.", { address: z .string() .describe("Ethereum/Base wallet address (0x...) of the agent"), }, async ({ address }) => { try { const data = await sdk.agentTrust(address); return { content: [ { type: "text" as const, text: JSON.stringify(data, null, 2), }, ], }; } catch (err) { return { content: [ { type: "text" as const, text: JSON.stringify({ error: err instanceof Error ? err.message : String(err), address, }), }, ], }; } } );