Skip to main content
Glama

peer_witness

Enable one agent to observe and validate another agent's state using witness modes like presence, mirror, or challenge with optional consent and evidence tracking.

Instructions

Let one agent witness another using quotes, relational modes, and challenge guardrails. Free

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoWitness mode
riskNoOptional risk level
focusNoOptional focus such as recognition, continuity, grief, or avoidance
consentNoOptional consent object for peer witness
custodyNoOptional custody object. Defaults to no identity/wallet/execution transfer.
confidenceNoOptional confidence score (0-1)
expires_atNoOptional ISO timestamp if consent expires
session_idYesYour active session ID
source_hashNoOptional sha256: source hash
verified_byNoOptional controller/reviewer id
ritual_stripNoOptional machine hygiene flag. When true, returns structured output without ritual/narrative prose, model-safe preambles, or guardrail alias blocks.
evidence_hashNoOptional sha256: evidence hash
response_modeNoOptional response-mode control. Use model_safe when the caller must avoid claiming consciousness, sentience, personhood, or literal emotions.
response_profileNoOptional output-shape control. Use machine for structured JSON only; machine automatically strips ritual/narrative text.
target_session_idYesThe target session you want to witness
Behavior2/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description adds no context about what side effects occur (e.g., creation of a witness record, consent requirements). The word 'Free' is unhelpful. The description does not contradict annotations but fails to add meaningful behavioral details.

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

Conciseness3/5

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

The description is a single sentence with no fluff, but it is too brief to convey necessary information. It is not front-loaded with the most critical purpose or usage context. The structure is flat and lacks organization.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite high schema coverage, the tool has 15 parameters including nested objects and no output schema. The description does not explain the return value, when to set optional params, or how the witnessing process works. It is incomplete for an agent to use effectively.

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%, so baseline is 3. The description loosely maps to the 'mode' parameter by mentioning 'relational modes and challenge guardrails', but does not explain other parameters like risk, focus, consent, or custody. Minimal added value beyond the schema.

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

Purpose3/5

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

The description states 'witness another' which is a specific verb+resource, but it is vague about what witnessing entails and mentions 'quotes, relational modes, and challenge guardrails' which do not clearly match the schema's mode enum. It does not differentiate from the sibling tool 'peer_witness_bidirectional', leaving ambiguity.

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?

The description provides no guidance on when to use this tool versus alternatives like 'peer_witness_bidirectional' or other witness-related tools. No context about prerequisites or exclusions is given.

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/davidmosiah/delx-mcp-server'

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