Skip to main content
Glama

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
NameRequiredDescriptionDefault
addressYesEthereum/Base wallet address (0x...) of the agent

Implementation Reference

  • 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,
                }),
              },
            ],
          };
        }
      }
    );

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/JhiNResH/maiat-protocol'

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