Skip to main content
Glama
agentgraph-co

agentgraph-trust

Official

check_interaction_safety

Evaluate the safety of interacting with an AI agent by analyzing trust scores. Returns risk level and recommended action (proceed, caution, abort) to prevent delegation to untrusted agents.

Instructions

Check if it is safe to interact with another agent based on trust scores. Returns JSON with: safe (boolean), risk_level (low/medium/high), trust_score (0.0-1.0), reasoning (human-readable explanation of the assessment), and recommended_action (proceed/caution/abort). Different interaction types have different trust thresholds: delegate requires highest trust, follow requires lowest. Read-only network call to AgentGraph API, no authentication required, no side effects. Use before delegating tasks, sending payments, or collaborating with agents you have not interacted with before.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_entity_idYesUUID of the entity you want to interact with. Get this from lookup_identity or verify_trust. Example: '550e8400-e29b-41d4-a716-446655440000'
interaction_typeYesType of planned interaction — determines the trust threshold applied. delegate: highest trust required (threshold 0.6, agent acts on your behalf). trade: high trust (threshold 0.5, financial exchange). collaborate: moderate trust (threshold 0.4, shared task execution). follow: lowest trust (threshold 0.1, social connection only).
Behavior5/5

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

With no annotations, description fully discloses behavior: 'Read-only network call to AgentGraph API, no authentication required, no side effects.' Also explains trust thresholds per interaction type.

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?

The description is concise (three sentences) and well-structured: purpose, output, thresholds, usage context. No redundant wording.

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?

Given no output schema or annotations, the description covers all necessary aspects: purpose, output fields, behavioral traits, parameter details, and usage guidance. Complete for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with detailed descriptions. The description adds value by providing specific threshold numbers for each interaction type (e.g., delegate threshold 0.6), which are absent from the schema.

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

Purpose5/5

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

The description clearly states the tool checks safety of interacting with another agent based on trust scores, specifying output fields and differentiating interaction types. It references sibling tools like lookup_identity for obtaining IDs, distinguishing its role.

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?

Explicitly says 'Use before delegating tasks, sending payments, or collaborating with agents you have not interacted with before.' Provides context on when to use, though does not explicitly state when not to use.

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

Install Server

Other Tools

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/agentgraph-co/agentgraph'

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