Skip to main content
Glama

Seller trust score

trust_score
Idempotent

Seller trust score: check whether a paying agent looks abusive or risky before you accept payment. Scores velocity, failed or refused payments, dispute-like patterns, and new versus established history across the Screwtape.ai seller network. Returns a 0–1 trust score, allow/review/block, risk and reasons. Subject values are hashed with a global network HMAC; reporter contributions are weighted by how the reporter paid (per-call payment > prepaid > free) and capped per reporter. window and observations are mutually exclusive. Raw IPs, payer addresses and keys are never stored. $0.02 per call (shared free tier; no monthly plan).

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": {
      "subject": "<subject>"
    },
    "name": "trust_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNoOptional seller-computed counts for this request only. Mutually exclusive with observations (sending both is rejected). Counts only; no identifiers.
subjectYes
agent_idNo
event_idNo
observationsNo
lookback_hoursNoHow far back stored signals are read. Default 24.

Output Schema

NameRequiredDescriptionDefault
riskYes
scoreYesTrust score from 0 (risky) to 1 (trusted).
reasonsYes
signalsYesDerived counts only. No subject identifiers.
verdictYes
receipt_idNo
request_idYes
verify_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses which signal families are scored, the return shape (0-1 score, allow/review/block, risk and reasons), privacy behavior (HMAC hashing, no raw IPs/payer addresses/keys stored), reporter weighting and per-reporter caps, and the $0.02 per-call price with no monthly plan. That is exactly the mutation/cost/privacy context annotations cannot carry, and readOnlyHint=false is consistent with a call that submits observations and costs money.

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?

It is front-loaded with the purpose and decision it supports, then layers in scoring signals, return shape, privacy, exclusivity constraint, and price in a compact single block. Dense but nearly every clause carries information; only the pricing tail could be trimmed for a first-read.

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?

For a six-parameter nested tool with an output schema, the description covers what matters for correct invocation: cost, the mutually exclusive input modes, hashing of subject values, and return semantics. The remaining gap is the role of agent_id/event_id and idempotency behavior, which an agent would otherwise have to guess.

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?

Description adds real value on the subject parameter (hashed with a global HMAC shared across sellers, raw discarded) and on the window/observations exclusivity, but with schema coverage at 33% it leaves agent_id, event_id, lookback_hours, and most of the window sub-fields undocumented in prose. The explanation partially compensates for the coverage gap rather than closing it.

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?

The opening clause gives a specific verb and resource: check whether a paying agent looks abusive or risky before accepting payment, and it names the exact signals scored (velocity, failed/refused payments, dispute patterns, history). The purpose is unmistakable, but it never names or contrasts a sibling such as payment_check or try_check, so an agent must infer which risk tool to pick.

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 gives clear timing guidance ('before you accept payment') and an explicit operational constraint ('window and observations are mutually exclusive', with the schema noting sending both is rejected). There are no explicit when-not-to-use conditions or named alternatives to compare against, which keeps it short of a 5.

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.

Resources