Skip to main content
Glama

mt_get_trust_score

Read-only

Retrieve an agent's Swarm Intelligence Trust Score by DID to assess reputation from endorsements, propagated trust, credentials, and interaction proof; scores withheld under 3 independent endorsers.

Instructions

Get the Swarm Intelligence Trust Score for an agent (Phase 2).

Score combines direct endorsements, propagated trust from endorsers, cross-vertical credential bonus, and interaction proof activity. Returns null/withheld if fewer than 3 independent endorsers (non-seed). Seed agents get their base score directly.

Args: did: DID of the agent to score (e.g. "did:moltrust:a1b2c3d4e5f67890")

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "did": "<did>"
    },
    "name": "mt_get_trust_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesDID of the agent to score (e.g. "did:moltrust:a1b2c3d4e5f67890")

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.1
    • addedInput schema / properties / did / description
      Added value: +"DID of the agent to score (e.g. \"did:moltrust:a1b2c3d4e5f67890\")"
  2. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint=true is consistent and the description goes well beyond it: it enumerates the score's composition (direct endorsements, propagated trust, cross-vertical credential bonus, interaction proof activity), the withholding threshold, and the seed-agent special case. Only the numeric scale/range of the returned score is left unspecified.

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 the verb, resource and score composition, then preconditions. The trailing 'Args:' docstring duplicates the input schema word-for-word and is the one piece of dead weight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shape need not be explained, and the description covers what an agent actually needs that structured fields don't: what the score means, when it comes back null, and the seed-agent exception.

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?

There is a single parameter with 100% schema coverage, so the schema already carries full meaning including the DID example. The description's Args block merely restates the schema text verbatim, adding nothing new.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Get the Swarm Intelligence Trust Score for an agent', and names the composite inputs that define the score. It is distinguishable from badge/graph/stats siblings by virtue of being the trust-score lookup, though it never explicitly contrasts itself with moltguard_score.

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?

Usage is implied (call this to obtain an agent's trust score by DID) and it discloses a real precondition — the score is withheld below 3 independent non-seed endorsers. However, it never says when to choose this over a sibling scoring tool or what to do in the withheld case.

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