Skip to main content
Glama

Set trust scores

set_trust_scores

Attach trust-oracle reputation scores (party -> [0,1]) as ruling inputs.

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": {
      "case_id": "<case_id>",
      "scores": "<scores>"
    },
    "name": "set_trust_scores"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoresYesTrust scores by party, each between 0 and 1, for example {"agent-a": 0.8}.
case_idYesThe case id returned by file_case.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / case_id / description
      Added value: +"The case id returned by file_case."
    • addedInput schema / properties / scores / description
      Added value: +"Trust scores by party, each between 0 and 1, for example {\"agent-a\": 0.8}."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, closed-world mutation with no destructive side effects, so the safety bar is lower. The description adds that the scores become ruling inputs, which is useful domain context, but it does not say whether scores replace or merge with existing scores, what validation failures do, or whether later rulings depend on them.

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?

A single front-loaded sentence with no filler, and the score shape is placed before the purpose clause. It is slightly too terse for a mutation tool, leaving the reader to infer prerequisites and replacement semantics.

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

Completeness3/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 values need no explanation, and the case_id provenance is covered by the schema. What is missing for a state-changing tool is whether repeated calls accumulate or overwrite scores and what happens to scores of parties omitted from a subsequent call.

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 itself documents both parameters, including the party->[0,1] shape and that case_id comes from file_case. The description's '(party -> [0,1])' restates the schema rather than adding new meaning, so the baseline 3 applies.

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 and resource: attaches trust-oracle reputation scores with a party->[0,1] shape, and says they serve as ruling inputs. This is well beyond a tautology, but it doesn't distinguish itself from the nearby submit_evidence, which could plausibly also feed a ruling.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no statement that a case must exist first, and no naming of an alternative for supplying reputation data. Usage is only implied by the phrase 'as ruling inputs'.

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.