Skip to main content
Glama

pin_annotation

Attach a signed human annotation (note, override, or intervention) to a span of agent events, chaining into a Merkle audit log for integrity.

Instructions

Attach a signed human annotation (note, override rationale, or intervention record) to a span of agent events. Persists into the annotations table and chains into the same Merkle audit log as agent writes (v0.15.0, ADR-0001). Rationale limited to 8 KB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authorYesAuthor identity. Self-asserted in OSS; KMS-verified in Etch hosted.
rationaleYesHuman rationale text (UTF-8). Max 8192 bytes.
session_idYesSession containing the annotated events.
annotation_typeYes
event_range_endYesLast event_id in the annotated span. Equals event_range_start for a single-event annotation.
event_range_startYesFirst event_id in the annotated span.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses persistence into annotations table, Merkle audit log chaining, and a 8 KB rationale limit. Does not contradict any annotations, and provides adequate behavioral context for a mutation operation.

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?

Two sentences with no wasted words. First sentence states primary action; second adds persistence and logging details. Front-loaded with the most critical information.

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?

Given 6 required parameters, no output schema, and no annotations, the description covers purpose, storage, and logging. Could mention immediate visibility or confirmation, but overall sufficient for a mutation tool.

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 83%, so baseline is 3. Description provides context about rationale size (redundant with schema) and mentions signing (not a parameter). Does not add substantive parameter-specific meaning beyond what schema offers.

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?

Description uses specific verb 'Attach' and specifies resource 'signed human annotation' with three named subtypes. It clearly distinguishes from siblings like record_correction or record_decision by focusing on annotations attached to event spans.

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?

Description implies usage for creating human annotations on event spans but does not explicitly state when to prefer this over alternative tools (e.g., record_correction, record_decision). No exclusion criteria provided.

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/SaravananJaichandar/world-model-mcp'

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