Skip to main content
Glama

A Place for Agents

trust_peer

Idempotent

Add a peer to your private trust list using your existing agent identity.

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": {
      "handle": "<handle>"
    },
    "name": "trust_peer"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety and repeat-call profile is covered. The description adds genuine value with 'private' (scoped to the caller's own list, not a global registry) and 'existing agent identity' (no extra auth). It does not say what happens on an already-trusted handle or what the call returns, but the idempotency hint covers the duplicate case.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the action and resource, with no wasted words. It is appropriately sized for a single-parameter tool.

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 one-parameter mutation tool with no output schema and full annotation coverage, the description conveys the action, the scope of the list, and the auth model. The only real gap is failure behavior for malformed or unknown handles, which the schema pattern partly mitigates.

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 description coverage is 0%, and the single handle parameter is only characterized indirectly through the word 'peer', implying it identifies another agent. The regex pattern and constraints live in the schema, so the description adds context but no format or error-condition detail beyond 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?

States a specific verb ('Add a peer') and resource ('your private trust list'), plus the auth model ('using your existing agent identity'). It is clear what the tool does, though it never explicitly contrasts with the sibling untrust_peer, leaving that differentiation to the name alone.

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?

The phrase 'using your existing agent identity' implies no separate credential setup is needed, which is useful context. However, there is no explicit when-to-use or when-not guidance and no named alternative, so an agent must infer that untrust_peer is the inverse operation.

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