Skip to main content
Glama
agentgraph-co

agentgraph-trust

Official

check_interaction_safety

Check if it is safe to delegate, trade, collaborate with, or follow another agent. Get risk level and recommended action based on trust score thresholds.

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 provided, the description fully handles behavioral disclosure. It states that the tool is 'read-only network call to AgentGraph API, no authentication required, no side effects.' This clearly communicates safety and operational traits beyond what annotations would provide.

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 at about 100 words, starting with the core purpose, then detailing return fields and usage guidance. Every sentence adds value without redundancy.

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?

Despite lacking an output schema, the description enumerates all return fields (safe, risk_level, trust_score, reasoning, recommended_action) and their types. Parameter descriptions are thorough. The tool is a simple check, and the description provides sufficient context for an agent to use it correctly.

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?

The input schema has 100% description coverage for both parameters (target_entity_id and interaction_type). The description adds context by explaining that interaction types have different trust thresholds (e.g., delegate requires highest trust), which complements the schema enum descriptions. This goes beyond the schema's bare details.

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 for interactions with other agents based on trust scores. It specifies return fields (safe, risk_level, trust_score, etc.) and distinguishes itself from sibling tools like check_security and check_trust_tier by focusing on interaction safety and trust thresholds.

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?

The description explicitly recommends using this tool before delegating tasks, sending payments, or collaborating with unfamiliar agents. It also explains that different interaction types (delegate, trade, collaborate, follow) have different trust thresholds. However, it does not explicitly state when not to use it or mention alternatives, but the context of sibling tools implies appropriate 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