Skip to main content
Glama

Iranti

License: AGPL-3.0 MCP Server npm npm version iranti MCP server

Shared memory for AI coding tools — Claude Code, Codex CLI, and GitHub Copilot.

Iranti is a self-hosted MCP server that gives your AI tools persistent, identity-based memory. Facts written in one session are retrievable in any other — across tools, projects, and context resets.


Quick Start

# Install globally
npm install -g iranti

# Run the guided setup (configures database, API key, project binding)
iranti setup

# Start the instance
iranti run --instance local

Then wire it into your AI tool:

iranti claude-setup    # Claude Code
iranti codex-setup     # Codex CLI
iranti copilot-setup   # GitHub Copilot

That's it. Your AI tool now has persistent memory across sessions.


Related MCP server: Turbo Quant Memory MCP Server

Supported Tools

Tool

Command

What it does

Claude Code

iranti claude-setup

Adds .mcp.json, CLAUDE.md, and session hooks

Codex CLI

iranti codex-setup

Registers Iranti in the global MCP registry

GitHub Copilot

iranti copilot-setup

Writes MCP config to .mcp.json + .vscode/mcp.json, protocol instructions to .github/copilot-instructions.md

Any MCP client

iranti mcp

Runs the stdio MCP server directly


What It Does

Iranti stores facts as entityType/entityId → key → value triples in PostgreSQL. Any agent that knows the entity and key can retrieve the fact exactly — no semantic guessing, no hallucinated state.

Agent A writes:  project/my-app → deployment_status → "deployed to staging"
Agent B reads:   project/my-app → deployment_status → "deployed to staging" ✓

Facts persist across sessions, context resets, and tool switches. When you restart Claude Code tomorrow, it can pick up exactly where you left off.

Key capabilities

  • Exact lookup — retrieve by entityType/entityId + key, deterministic and fast

  • Hybrid search — lexical + vector similarity when exact keys are unknown

  • Cross-tool sharing — Claude Code, Codex, and Copilot share the same memory

  • Conflict resolution — concurrent writes from multiple agents are detected and resolved

  • Per-fact confidence — every fact carries a confidence score; low-confidence facts age out

  • Session recovery — checkpoint/resume for interrupted work

  • User operating rules — define trigger-based rules that surface only when relevant

  • File-change recall — agents remember which files changed and why


Staff agents

Iranti is built around four internal Staff components that run alongside the host AI tool. Each Staff member has a specific job, and together they turn the memory layer into an active participant in the session — not just a dictionary the agent reads from.

Staff

Role

What it does

Librarian

Writes and conflict resolution

Normalizes facts before storage, runs multi-step conflict resolution with cited evidence, enforces schema and confidence rules

Attendant

Turn-time context

Pre-response memory injection, mid-turn tool-call guidance, post-response autowrite nudges, drift detection, session objective tracking

Archivist

Background maintenance

Decays stale facts, archives expired entries, processes escalations, runs a bounded reasoning pass that proposes compressions and demotions

Resolutionist

Human-in-the-loop

Consumes escalation files for conflicts the Librarian could not auto-resolve

Attendant agency (what the Attendant surfaces on every turn)

The Attendant runs in three phases — pre-response, mid-turn, and post-response — and returns a structured result each time. Beyond raw fact injection, every attend response carries:

  • toolCallGuidance — when the host passes a pending tool call (Read, Grep, Glob, Bash, WebSearch, WebFetch), the Attendant derives entity hints from the tool args and emits a shouldSkip verdict when stored facts already cover the target. Hosts can gate tool execution on the verdict instead of string-matching notes.

  • drift — detects when the latest message has diverged from the declared task topic. Emits the driving tokens so the host can surface a confirmation prompt. Suppressed when checkpoint.currentStep starts with COMPLETE — so a finished task does not produce spurious drift alarms as the conversation winds down.

  • sessionObjective — derived from the task description or checkpoint continuation, threaded through every attend call as a stable anchor.

  • autoCheckpointSignal — fires when pressure has built up (drift, turns-without-write, tool-cost threshold) so the host can checkpoint before the next risky step.

  • refinementPass — when the first retrieval pass comes back empty, the Attendant runs a bounded widened-hint retry (max 1 extra observe call) and reports the outcome.

  • subTurnLoopPlan — on mid-turn attends, when the host passes a partialResponse of the Attendant's own in-progress assistant output, the Attendant re-scores the partial against memory, harvests novel tokens and entity hints from the text, and fires one bounded extra observe call with the widened hints unioned onto the original ones. Net-new facts are deduped against the pre-retry baseline so repeat hits are dropped. Gated by phase, partial length, a once-per-turn budget, and a novelty check on the tokens. This is refinementPass re-applied on response progress rather than empty initial retrieval — the "most agentic" sub-turn loop from the M-series memo.

  • attendantToolPlan — up to three planned follow-up tool calls (search_related, observe_entity, query) derived from brief entities, drift tokens, or the session objective. Deterministic and surfaced, never executed.

  • councilConsultationPlan — proposes which peer Staff members the Attendant would consult for this turn (e.g. Librarian for source-reliability on a clear topic, Archivist when the injection surface has multiple low-confidence facts). Proposal only.

  • usageGuidance — carries the MANDATORY protocol reminder block. Gated on compliance health: when all counters (turnsWithoutWrite, consecutiveUnusedMemoryInjections, etc.) are zero the reminder is suppressed so well-behaved agents do not pay the injection cost every turn.

  • writeNudge — reminds the host to write a fact after substantial activity without a durable write.

  • toolResultExtraction — on mid-turn/post-response, the Attendant extracts candidate facts from the tool result so the host can autowrite them.

  • responseFileCapture — on post-response, the Attendant scans the assistant's reply for file paths, infers the action (edited/created/read) from the ±150-character context window around each match, and auto-writes project/{id}/file/{basename} facts so file-scoped memory is populated without host involvement. Result carries autowriteBatchId, filesDetected, factsWritten, entities, skipped, and durationMs. Only present on post-response attend calls.

Archivist reasoning budget

Each Archivist scan cycle ends with a bounded, deterministic reasoning pass that emits proposals (never mutations) for the Resolutionist to consider:

  • compress — clusters of duplicate entries at the same entityType/entityId/key

  • flag_drift — clusters with high confidence spread suggesting disagreement

  • demote — stale low-confidence single entries

  • review_stale — very old single entries regardless of confidence

Proposals fire as reasoning_proposal_emitted staff events and travel on the ArchivistReport so callers can ship them onward.

Council mode

Staff members can propose consultations with each other before finalising a decision. The Librarian can ask the Attendant for relevance when resolving a conflict; the Attendant can ask the Librarian for source-reliability context on a topic; the Resolutionist can ask the Archivist for pending reasoning-proposal context on an escalation. Consultations are proposed, bounded, and fired as council_consultation_proposed staff events — they are not executed automatically today.


MCP Tools

When connected via MCP, Iranti exposes these tools to your AI tool:

Tool

Purpose

iranti_handshake

Initialize session, load operating rules and working memory

iranti_attend

Pre/post-response memory injection — call before every reply

iranti_write

Write a durable fact to shared memory

iranti_query

Exact entity+key lookup

iranti_search

Hybrid semantic/lexical search

iranti_checkpoint

Save current task progress

iranti_ingest

Extract facts from prose or documents

iranti_relate

Create a relationship between two entities

iranti_related / iranti_related_deep

Traverse entity relationships

iranti_history

Fact history with timestamps

iranti_who_knows

Find which agents have written about an entity

iranti_observe

Demand-driven context injection with entity hints

iranti_write_rule

Write a user operating rule with trigger conditions

iranti_remember_response

Auto-persist facts from an assistant response


Install Strategy

Iranti uses a two-layer model: one machine-level runtime, many project bindings.

1. Install and set up

npm install -g iranti
iranti setup

iranti setup walks you through:

  • Instance creation and database onboarding (local Postgres, managed Postgres, or Docker)

  • LLM provider API keys (OpenAI, Claude, Gemini, Groq, Mistral, or local Ollama)

  • Project binding

Non-interactive automation:

iranti setup --defaults --db-url "postgresql://postgres:yourpassword@localhost:5432/iranti"

2. Start the instance

iranti run --instance local

3. Bind a project

cd /path/to/your/project
iranti project init . --instance local --agent-id my_agent

This writes .env.iranti with IRANTI_URL, IRANTI_API_KEY, and agent identity. Each agent in a multi-agent system gets its own --agent-id.

4. Integrate with your AI tool

iranti claude-setup    # or codex-setup / copilot-setup

API Keys

# Create a scoped key for one user or service
iranti auth create-key --instance local --key-id my_app --owner "My App" \
  --scopes "kb:read,kb:write,memory:read,memory:write"

# List keys
iranti list api-keys --instance local

# Revoke a key
iranti auth revoke-key --instance local --key-id my_app

SDK Usage

Python (PyPI):

from iranti import IrantiClient

client = IrantiClient(base_url="http://localhost:3001", api_key="your_key")

# Write a fact
client.write(
    entity="project/my-app",
    key="status",
    value="in_review",
    summary="App is in review",
    confidence=90,
    source="my_script",
    agent="my_agent",
)

# Read it back
fact = client.query(entity="project/my-app", key="status")

TypeScript (npm):

import { IrantiClient } from "@iranti/sdk";

const client = new IrantiClient({ baseUrl: "http://localhost:3001", apiKey: "your_key" });

await client.write({
    entity: "project/my-app",
    key: "status",
    value: "in_review",
    summary: "App is in review",
    confidence: 90,
    source: "my_script",
    agent: "my_agent",
});

const fact = await client.query("project/my-app", "status");

User Operating Rules

Rules are trigger-based instructions that surface only when the agent is about to do a relevant task (e.g. releasing, pushing to CI). Unlike project policies which are always injected, rules match against the current context using keyword triggers.

# Create a rule via MCP (iranti_write_rule tool) or the API
# Example: remind the agent to use GitHub Releases instead of npm publish
#   triggers: ["publish", "release", "npm"]
#   enforcement: "hard" (required) or "soft" (guidance)

# List all rules
iranti list-rules

# Remove a rule
iranti delete-rule no_npm_publish

Rules are stored as rule/* entities. During iranti_attend, triggers are matched against the current conversation context — single-word triggers match as tokens, multi-word triggers match as phrases.


Diagnostics

iranti doctor              # Validate database, API key, and provider
iranti status              # Show known instances and project bindings
iranti chat                # Interactive chat shell for sanity checking
iranti upgrade --check     # Check for available updates
iranti upgrade --yes       # Apply updates

Operator-facing CLI help now includes short "what it does" and "use this when" guidance for every command — run iranti --help or iranti <command> --help for details.


Configuration

Environment variables (set during iranti setup or manually in .env):

Variable

Description

DATABASE_URL

PostgreSQL connection string (pgvector required)

IRANTI_API_KEY

Server authentication key

LLM_PROVIDER

openai | claude | gemini | groq | mistral | ollama | mock

IRANTI_PORT

API port (default: 3001)

IRANTI_ARCHIVIST_WATCH

Watch escalation files and auto-run maintenance (true/false)


Uninstall

iranti uninstall --dry-run    # Preview what would be removed
iranti uninstall --all --yes  # Remove runtime + project bindings

Guides

License

AGPL-3.0-or-later

Available Tools

16 tools
iranti_attendA

Ask Iranti whether memory should be injected before the next LLM turn. REQUIRED CALL SEQUENCE — follow this every turn, regardless of host:

  1. Call with phase='pre-response' BEFORE replying to the user.

  2. Call BEFORE any lookup tool (Read, Grep, Glob, Bash, WebSearch, WebFetch) where Iranti might already hold the answer. When you do, pass the pendingToolCall field so Iranti can derive entity hints from the tool target (file, URL, query) and preempt the lookup with stored facts.

  3. If you just ran Edit/Write/Bash/WebSearch/WebFetch since your last iranti_write, call iranti_write FIRST — then attend.

  4. Call with phase='post-response' AFTER every reply, without exception.

If the user is asking you to recall a remembered fact (preference, decision, blocker, next step, prior project detail), use this before answering instead of guessing or saying you do not know. Returns an injection decision plus any facts that should be added to context if relevant memory is missing. If no handshake has been performed yet for this agent in the current process, attend will auto-bootstrap the session first and report that in the result metadata. This is the minimum safe pre-reply call even when the host skipped handshake. Omitting currentContext falls back to the latest message only; pass the full visible context when available. For host compatibility, message is accepted as an alias for latestMessage. When phase='post-response', pass the assistant response so Iranti can persist strict continuity facts and shared checkpoint state before closing the turn.

ParametersJSON Schema
NameRequiredDescriptionDefault
latestMessageNoThe full text of the latest user or assistant message — pass the complete response text, not a summary. When phase='post-response', this must be the full assistant response so Iranti can extract and persist durable facts (drafts, decisions, findings) from it.
messageNoAlias for latestMessage, accepted for host compatibility. Must be the full message text, not a summary.
currentContextNoCurrent visible context window.
entityHintsNoOptional entity hints in entityType/entityId format.
maxFactsNoMaximum facts to inject.
forceInjectNoForce a memory injection decision.
phaseNoCall phase: 'pre-response' before replying, 'post-response' after replying, 'mid-turn' for discovery-triggered re-attends within the same turn (e.g. after reading a new file or hitting a new entity). Mid-turn attends dedup facts already injected this turn, default to a smaller fact budget (3), and skip user-rule re-scans.
pendingToolCallNoDescribe the read-only tool call the agent is about to make. Iranti derives entity hints from the tool target (file path, URL, query) and surfaces any stored facts BEFORE the tool runs, so you can preempt redundant Read/Grep/Bash/WebFetch/WebSearch calls with stored memory. The result includes a toolCallGuidance field summarising what was derived.
toolResultNoM2: pass the raw output of a read-only tool call the agent just completed (Read/Grep/Bash/WebFetch/WebSearch). Iranti auto-extracts durable facts from the output and writes them with source="attendant_autowrite" so the next session does not need to re-run the same tool call. All autowrites share an autowriteBatchId and can be reverted as a group via `iranti revert-autowrite`. The response includes a toolResultExtraction field summarising what was extracted and written.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it auto-bootstraps sessions if needed, handles fallbacks for parameters, deduplicates facts in mid-turn calls, and manages fact injection limits. However, it doesn't explicitly mention error handling or rate limits, leaving some gaps.

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 front-loaded with the core purpose but becomes lengthy with detailed call sequences and parameter notes. While all information is relevant, it could be more streamlined; some sentences, like those about host compatibility, add necessary detail but reduce conciseness.

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 the tool's complexity (11 parameters, no annotations, no output schema), the description is largely complete. It covers purpose, usage, and key behaviors, but lacks details on return values or error handling, which would be helpful for an agent invoking this tool 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 description coverage is 100%, so the schema already documents all 11 parameters thoroughly. The description adds minimal parameter semantics beyond the schema, such as noting that 'message' is an alias for 'latestMessage' and explaining the purpose of 'pendingToolCall' and 'toolResult' in context. This meets the baseline for high schema coverage.

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's purpose: 'Ask Iranti whether memory should be injected before the next LLM turn.' It specifies the verb ('ask') and resource ('Iranti'), and distinguishes it from siblings by focusing on memory injection decisions rather than other memory operations like querying or writing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit, detailed guidelines on when to use this tool: it lists a required call sequence with three specific scenarios (before replying, before lookup tools, after certain writes) and adds a rule for recalling facts. It also distinguishes usage from alternatives by specifying it's for memory injection decisions, unlike sibling tools for querying or writing.

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

iranti_checkpointA

Persist a shared progress checkpoint while you work. Use this at meaningful milestones so current step, next step, open risks, recent outputs, structured actions, and shared entity state survive across turns, sessions, and agents. This is the strongest shared-RAM tool for active work: prefer it over ad-hoc prose when you need another session or another agent to pick up where you left off. If entityTargets are supplied, Iranti also writes canonical shared state such as current_step, next_step, open_risks, recent_actions, and recent_file_changes to those entities for handoff.

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYesCurrent task or objective for the active checkpoint.
recentMessagesNoRecent messages that help fingerprint the active task.
currentStepNoWhat is being worked on right now.
nextStepNoThe next step another session or agent should take.
openRisksNoOpen risks or blockers that still matter.
recentOutputsNoImportant outputs or artifacts produced so far.
actionsNoStructured actions completed so far, such as commands, tests, searches, or validations.
fileChangesNoStructured file actions produced so far.
entityTargetsNoShared entities that should receive checkpoint state, in entityType/entityId format.
notesNoCompact extra checkpoint notes that aid handoff.
sessionIdNoOptional existing session id to refresh.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively explains that this tool persists data across turns, sessions, and agents, and that it writes to shared entities when entityTargets are supplied. It mentions what gets stored (e.g., current_step, next_step) but doesn't cover potential side effects like rate limits, authentication needs, or error handling.

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 well-structured and front-loaded, with the first sentence stating the core purpose. Each subsequent sentence adds meaningful context without redundancy. It efficiently covers usage scenarios, comparisons to alternatives, and behavioral implications in a compact form.

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 complex tool with 13 parameters and no output schema, the description does a good job explaining the tool's role and when to use it. However, it lacks details on return values or error conditions, which would be helpful given the tool's mutation nature and absence of annotations. The description compensates well but doesn't fully address all contextual gaps.

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 description coverage is 100%, so the schema documents all parameters thoroughly. The description adds value by explaining the overall purpose of checkpointing and hinting at how parameters like entityTargets affect behavior ('writes canonical shared state... to those entities for handoff'), but doesn't provide additional syntax or format details beyond 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's purpose: 'Persist a shared progress checkpoint while you work.' It specifies the verb ('persist') and resource ('shared progress checkpoint'), and distinguishes it from siblings by calling it 'the strongest shared-RAM tool for active work' and contrasting with 'ad-hoc prose.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool: 'Use this at meaningful milestones' and 'prefer it over ad-hoc prose when you need another session or another agent to pick up where you left off.' It also mentions a specific alternative ('ad-hoc prose') and clarifies the tool's role relative to sibling tools by emphasizing its strength for active work handoff.

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

iranti_handshakeA

Initialize or refresh an agent's working-memory brief for the current task. Call this at session start or when a new task begins, passing the task and recent messages. Returns operating rules plus prioritized relevant memory for that task. If the recent messages appear to contain durable facts that are not yet in shared memory, the result may include a backfill suggestion. If your host does not support a true session-start hook, call this on the first user turn before you start answering recall-style questions. Do not use this as a per-turn retrieval tool; use iranti_attend.

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYesThe current task or objective.
recentMessagesNoRecent conversation messages.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.
hostNoHost identifier (e.g. claude_code, codex). Used to verify host setup has been run for this project.
postCompactionNoSet to true after context compaction to force re-delivery of operating rules. Omit on normal mid-session handshake calls — rules are only sent once per context window.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it returns 'operating rules plus prioritized relevant memory,' may include 'a backfill suggestion' for durable facts not in shared memory, and explains the postCompaction parameter's effect ('rules are only sent once per context window'). However, it doesn't mention error conditions, rate limits, or authentication requirements.

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 efficiently structured with zero wasted sentences. It front-loads the core purpose, provides clear usage guidelines, explains behavioral aspects, and distinguishes from alternatives—all in 7 concise sentences that each earn their place.

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 tool with 6 parameters, no annotations, and no output schema, the description does an excellent job explaining purpose, usage, and key behaviors. It covers the tool's role in the workflow and distinguishes it from siblings. The main gap is the lack of output format details (what 'operating rules' and 'prioritized relevant memory' look like), which would be helpful given no output schema exists.

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 100%, so the schema already documents all 6 parameters thoroughly. The description adds some context about the postCompaction parameter ('Omit on normal mid-session handshake calls — rules are only sent once per context window'), but doesn't provide additional semantic meaning for other parameters beyond what the schema descriptions already state.

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's purpose: 'Initialize or refresh an agent's working-memory brief for the current task.' It specifies the verb (initialize/refresh), resource (working-memory brief), and distinguishes it from sibling iranti_attend by explicitly stating 'Do not use this as a per-turn retrieval tool; use iranti_attend.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool: 'Call this at session start or when a new task begins' and 'If your host does not support a true session-start hook, call this on the first user turn before you start answering recall-style questions.' It also clearly states when NOT to use it: 'Do not use this as a per-turn retrieval tool; use iranti_attend.'

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

iranti_historyA

Retrieve the full version history of a fact for an exact entity+key pair. Returns all archived past values plus the current value, ordered oldest-first. Each entry includes value, summary, confidence, source, validFrom, validUntil, isCurrent, archivedReason, and resolutionState. REQUIRED: call iranti_attend before this discovery tool so Iranti can decide whether memory should be injected first. Use this to understand how a fact evolved over time — decisions that changed, blockers that were resolved, values that were contested or superseded.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesEntity in entityType/entityId format.
keyYesFact key to retrieve history for.
limitNoMaximum number of entries to return (applied after sorting oldest-first).
includeExpiredNoInclude entries that expired without being superseded.
includeContestedNoInclude entries that were contested or escalated.
agentNoOverride the default agent id for protocol tracking.
agentIdNoAlias for agent. Override the default agent id for protocol tracking.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by describing the return format ('ordered oldest-first'), listing the fields in each entry, and specifying a prerequisite action ('call iranti_attend before this'). However, it doesn't mention potential limitations like rate limits, authentication requirements, or error conditions, which would be helpful for a tool with no annotations.

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 well-structured and appropriately sized. It starts with the core purpose, then describes the return format, specifies a critical prerequisite, and ends with usage context. Every sentence adds value with no redundancy or wasted words. The information is front-loaded with the most important details first.

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 tool with 7 parameters, no annotations, and no output schema, the description does a good job covering purpose, usage guidelines, and return format. It provides the prerequisite information and context about what historical insights to expect. However, without annotations or output schema, it could benefit from more behavioral details like error handling or performance characteristics to be fully complete.

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?

The schema description coverage is 100%, so the schema already documents all 7 parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema descriptions. It mentions 'entity+key pair' which aligns with the required parameters, but provides no additional syntax, format, or usage details for any parameters.

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's purpose with specific verbs ('Retrieve the full version history') and resources ('fact for an exact entity+key pair'). It distinguishes from siblings by specifying this is for historical data retrieval rather than current state queries or write operations, and explicitly mentions the sibling tool 'iranti_attend' as a prerequisite.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines: it states when to use ('to understand how a fact evolved over time'), when not to use (implies not for current state queries), and names a specific alternative/prerequisite ('call iranti_attend before this discovery tool'). It also gives context about what types of historical changes to examine ('decisions that changed, blockers that were resolved, values that were contested or superseded').

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

iranti_ingestC

Ingest a raw text block and let the Librarian chunk it into atomic facts.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesEntity in entityType/entityId format.
contentYesRaw text content to ingest.
confidenceNoRaw confidence score.
sourceNoSource label for provenance.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that the Librarian chunks text into atomic facts, which hints at processing behavior, but lacks critical details: it doesn't specify whether this is a read-only or mutating operation, what happens to the ingested data (e.g., storage, indexing), authentication needs, rate limits, or error handling. For a tool with no annotation coverage, this is a significant gap in transparency.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded with the core action and outcome, making it easy to parse. Every part of the sentence contributes to understanding the tool's function, with zero waste.

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?

Given the complexity (6 parameters, no annotations, no output schema), the description is insufficiently complete. It lacks details on behavioral traits, output format (what 'atomic facts' look like), error conditions, and usage context relative to siblings. Without annotations or an output schema, the description should provide more context to guide the agent effectively, but it falls short.

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 100%, meaning all parameters are documented in the input schema. The description does not add any semantic details beyond what the schema provides (e.g., it doesn't explain the 'entity' format further or clarify the relationship between 'agent' and 'agentId'). According to the rules, with high schema coverage, the baseline score is 3, as the description doesn't compensate with extra parameter insights.

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?

The description clearly states the action ('ingest a raw text block') and the outcome ('chunk it into atomic facts'), specifying both the verb and resource. It distinguishes this as an ingestion/chunking operation, which is different from siblings like query, search, or write tools. However, it doesn't explicitly contrast with specific siblings like 'iranti_write' or 'iranti_observe' to fully differentiate usage contexts.

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. With multiple sibling tools available (e.g., iranti_write, iranti_query, iranti_search), there is no indication of prerequisites, typical use cases, or exclusions. This leaves the agent without context for selecting this tool over others in the same server.

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

iranti_observeB

Recover relevant facts that have fallen out of Claude context.

ParametersJSON Schema
NameRequiredDescriptionDefault
currentContextYesCurrent context text being shown to Claude.
entityHintsNoOptional entity hints in entityType/entityId format.
maxFactsNoMaximum facts to recover.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions recovering facts 'that have fallen out of Claude context,' which implies retrieval from some external memory system, but doesn't describe authentication needs, rate limits, side effects, or what constitutes 'relevant facts.' This leaves significant gaps for a tool that appears to query a knowledge base.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded and wastes no space, making it easy for an agent to parse quickly.

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

Completeness3/5

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

Given the tool's apparent complexity (retrieving facts based on context and hints) and lack of annotations or output schema, the description is minimally adequate but incomplete. It doesn't explain what 'facts' look like, how relevance is determined, or the tool's integration with Claude's context, leaving the agent with significant uncertainty about behavior and results.

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 100%, so the schema already documents all parameters thoroughly. The description adds no additional parameter semantics beyond implying that 'currentContext' is used to identify lost facts, which is somewhat redundant with the schema. This meets the baseline for high schema coverage.

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?

The description clearly states the tool's purpose: 'Recover relevant facts that have fallen out of Claude context.' This specifies the verb ('recover') and resource ('relevant facts'), though it doesn't explicitly differentiate from sibling tools like 'iranti_history' or 'iranti_search' that might also retrieve information.

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. It doesn't mention prerequisites, context for usage, or compare it to sibling tools like 'iranti_query' or 'iranti_search', leaving the agent to infer usage scenarios.

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

iranti_queryA

Retrieve the current fact for an exact entity+key lookup. REQUIRED: call iranti_attend before this discovery tool so Iranti can decide whether memory should be injected before exact lookup. Use this when you already know both the entity and the key. Returns the current value, summary, confidence, source, and temporal metadata when available. Prefer this over iranti_search when the target fact is already known, and do not answer from memory alone before checking Iranti.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesEntity in entityType/entityId format.
keyYesFact key to retrieve.
agentNoOverride the default agent id for protocol tracking.
agentIdNoAlias for agent. Override the default agent id for protocol tracking.

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: it's a retrieval operation that returns specific data fields (value, summary, confidence, etc.), requires a prerequisite call to 'iranti_attend', and has a specific protocol tracking mechanism via agent parameters. The only minor gap is lack of explicit mention about whether this is a read-only operation or has side effects.

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

Conciseness4/5

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

The description is well-structured and appropriately sized. It uses clear paragraphs to separate different aspects (purpose, prerequisites, usage guidelines, comparison). While efficient, it could be slightly more concise by combining some related concepts into fewer sentences.

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 tool with no annotations and no output schema, the description does an excellent job providing context. It explains what the tool does, when to use it, prerequisites, and what it returns. The only minor gap is that without an output schema, more detail about the return structure would be helpful, though the listed fields (value, summary, confidence, etc.) provide reasonable guidance.

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 100%, so the schema already documents all parameters. The description doesn't add significant parameter semantics beyond what's in the schema - it mentions 'entity+key' but doesn't provide additional context about format, constraints, or usage of the agent parameters. This meets the baseline expectation when schema coverage is complete.

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's purpose with specific verbs ('retrieve', 'lookup') and resources ('current fact', 'entity+key'). It explicitly distinguishes this tool from its sibling 'iranti_search' by stating 'prefer this over iranti_search when the target fact is already known', providing clear differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines: it states when to use ('when you already know both the entity and the key'), when not to use ('do not answer from memory alone before checking Iranti'), prerequisites ('call iranti_attend before this discovery tool'), and alternatives ('prefer this over iranti_search'). This gives comprehensive guidance for proper tool selection.

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

iranti_relateC

Create a relationship edge between two entities.

ParametersJSON Schema
NameRequiredDescriptionDefault
fromEntityYesSource entity in entityType/entityId format.
relationshipTypeYesCaller-defined relationship type.
toEntityYesTarget entity in entityType/entityId format.
propertiesJsonNoOptional JSON-serialized relationship properties.
createdByNoOverride the default agent id.

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Create' implies a write/mutation operation, the description doesn't address permissions needed, whether the operation is idempotent, what happens on conflicts, rate limits, or what the response looks like (since there's no output schema). This leaves significant gaps for an agent to understand how to use it safely and effectively.

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 a single, clear sentence with no wasted words. It's front-loaded with the core action and resource, making it easy to parse quickly.

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?

For a mutation tool with 5 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what happens after creation (e.g., success/failure responses), error conditions, or how it fits with sibling tools. The agent would need to guess about behavioral aspects and usage context.

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 100%, meaning all parameters are documented in the schema itself. The description doesn't add any additional semantic context about the parameters beyond what's in the schema (e.g., it doesn't explain relationship types or entity formats in more detail). This meets the baseline for high schema coverage.

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?

The description clearly states the action ('Create') and resource ('relationship edge between two entities'), making the purpose immediately understandable. However, it doesn't differentiate this tool from sibling tools like 'iranti_related' or 'iranti_related_deep', which might also handle relationships in some way.

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. With sibling tools like 'iranti_related' and 'iranti_related_deep' that might handle relationship queries, there's no indication of when creation is appropriate versus retrieval, or any prerequisites for using this tool.

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

iranti_remember_responseA

Persist a strict durable summary from your own response. Use this after you decide to say something like "the next step is ...", "the blocker is ...", "we decided ...", or "the current owner is ...". This uses the same narrow summary extractor as the Claude Stop hook, but it is explicit and works for Codex or any MCP client. Do not use this for arbitrary prose or every turn.

ParametersJSON Schema
NameRequiredDescriptionDefault
responseYesThe assistant response text to scan for strict durable summary patterns.
projectEntityNoOptional explicit project entity target for project-scoped summaries.
personalEntityNoOptional explicit personal entity target for personal summaries.
sourceNoOptional provenance label override.
confidenceNoRaw confidence score for remembered summaries.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool uses a 'narrow summary extractor' similar to a 'Claude Stop hook' and is 'explicit and works for Codex or any MCP client,' adding context about its operational scope and compatibility. However, it lacks details on error handling, persistence mechanisms, or side effects.

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 appropriately sized and front-loaded, with every sentence adding value: the first states the purpose, the second provides usage examples, and the third adds behavioral context and exclusions. There is no wasted text, and it's structured for clarity.

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 the complexity (a tool for persisting summaries with 7 parameters) and no annotations or output schema, the description is reasonably complete. It covers purpose, usage guidelines, and some behavioral context, though it could benefit from more details on what 'strict durable summary' entails or how summaries are stored. The lack of output schema means return values aren't explained, but the description compensates adequately.

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 100%, so the schema already documents all 7 parameters thoroughly. The description adds no specific parameter semantics beyond implying that 'response' should contain the assistant's text with summary patterns. With high schema coverage, the baseline score of 3 is appropriate as the description doesn't enhance parameter understanding significantly.

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?

The description clearly states the tool's purpose: to persist a strict durable summary from the assistant's own response using a specific extractor. It specifies the verb ('persist') and resource ('strict durable summary'), though it doesn't explicitly differentiate from sibling tools like 'iranti_checkpoint' or 'iranti_write' which might have overlapping functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines: use after specific phrases like 'the next step is...', 'the blocker is...', etc., and not for arbitrary prose or every turn. It distinguishes when to use this tool versus alternatives by specifying the narrow scope of application.

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

iranti_who_knowsA

List which agents have written facts about an entity. REQUIRED: call iranti_attend before this discovery tool so Iranti can decide whether memory should be injected before provenance discovery.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesEntity in entityType/entityId format.
agentNoOverride the default agent id for protocol tracking.
agentIdNoAlias for agent. Override the default agent id for protocol tracking.

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions this is a 'discovery tool' for 'provenance discovery,' implying it's a read-only operation to retrieve information about agents and facts. However, it lacks details on permissions, rate limits, response format, or potential side effects. The description adds some context but is incomplete for a tool with no annotations.

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 appropriately sized and front-loaded: the first sentence states the purpose, and the second provides critical usage guidelines. Every sentence earns its place with no wasted words, making it efficient and easy to parse.

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

Completeness3/5

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

Given no annotations, no output schema, and 3 parameters with full schema coverage, the description is partially complete. It covers purpose and usage prerequisites well but lacks behavioral details (e.g., response format, error handling) and does not explain return values. For a discovery tool with no structured output information, more context would be helpful, but it meets a minimum viable level.

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 100%, so the schema already documents all parameters ('entity', 'agent', 'agentId') with descriptions. The description does not add any parameter-specific semantics beyond what the schema provides, such as explaining the 'entity' format in more detail or clarifying the relationship between 'agent' and 'agentId'. Baseline is 3 when schema does the heavy lifting.

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?

The description clearly states the tool's purpose: 'List which agents have written facts about an entity.' This is a specific verb ('List') + resource ('agents') + scope ('have written facts about an entity'). However, it does not explicitly differentiate from sibling tools like 'iranti_history' or 'iranti_query', which might also involve listing or querying information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines: 'REQUIRED: call iranti_attend before this discovery tool so Iranti can decide whether memory should be injected before provenance discovery.' This specifies a prerequisite (call 'iranti_attend' first) and context for when to use this tool, with a clear alternative or preparatory step named.

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

iranti_writeA

Write one durable fact to shared memory for a specific entity. TIMING: Call IMMEDIATELY when a fact is confirmed — do not batch or defer to end of turn. One call per finding. If you edited a file, write before the next action. If you ran a command and got a result, write before the next action. If you got a search result, write before moving on. Use this when you learned something concrete that future turns, agents, or sessions should retain. Requires: entity ("type/id"), key, value JSON, and summary. Confidence is optional and defaults to 85. Conflicts on the same entity+key are detected automatically and may be resolved or escalated. Personal-memory keys honor the configured canonical personal entity for this project/session. Use properties JSON when you need structured issue or workflow metadata such as issueStatus=open|resolved, severity, or resolution notes.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesEntity in entityType/entityId format.
keyYesFact key.
valueJsonYesJSON-serialized fact value.
summaryYesShort retrieval-safe summary.
confidenceNoRaw confidence score.
sourceNoSource label for provenance.
propertiesJsonNoOptional JSON-serialized fact properties for metadata such as issueStatus or severity.
validFromNoOptional ISO timestamp for when the fact became true/current.
requestIdNoOptional idempotency key.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: the tool writes durable facts (mutation), requires immediate calls (timing constraint), handles conflicts automatically ('Conflicts on the same entity+key are detected automatically and may be resolved or escalated'), and mentions personal-memory key handling. However, it doesn't cover error handling, rate limits, or authentication requirements, leaving some gaps for a mutation tool.

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

Conciseness4/5

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

The description is well-structured and front-loaded with the core purpose. Most sentences earn their place by providing critical guidance (timing, examples, conflict handling). However, it could be slightly more concise—some phrasing is repetitive (e.g., multiple 'before the next action' examples), and the paragraph format might benefit from bullet points for the timing examples.

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 the complexity (mutation tool with 11 parameters, no annotations, no output schema), the description does a good job of covering essential context: purpose, timing, conflict handling, and parameter semantics. It adequately compensates for the lack of annotations and output schema by explaining behavioral traits and usage. However, it doesn't describe the return value or error responses, which would be helpful for a write operation.

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 description coverage is 100%, so the baseline is 3. The description adds meaningful context beyond the schema: it explains that 'confidence is optional and defaults to 85', clarifies the purpose of 'propertiesJson' ('when you need structured issue or workflow metadata such as issueStatus=open|resolved, severity, or resolution notes'), and mentions 'Personal-memory keys honor the configured canonical personal entity.' This provides valuable semantic guidance for several parameters, elevating the score above baseline.

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's purpose: 'Write one durable fact to shared memory for a specific entity.' It specifies the verb ('write'), resource ('durable fact'), and destination ('shared memory'), distinguishing it from siblings like iranti_query (read) or iranti_ingest (bulk). The description explicitly contrasts with batching/deferring, further clarifying its singular write operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit, detailed guidance on when to use this tool: 'Call IMMEDIATELY when a fact is confirmed — do not batch or defer to end of turn.' It gives concrete examples (after editing a file, running a command, getting search results) and states the purpose ('when you learned something concrete that future turns, agents, or sessions should retain'). It also mentions alternatives implicitly by contrasting with batching/deferring, though it doesn't name specific sibling tools as alternatives.

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

iranti_write_issueA

Write a canonical open or resolved issue fact on a stable key. Use this when you want defects, bugs, or chores to remain first-class shared memory instead of loose prose. The same issueId always maps to the same issue_ key, so changing status from open to resolved archives the prior state automatically while preserving history. Prefer this over hand-rolling issueStatus properties through iranti_write when the fact is specifically a trackable issue lifecycle entry.

ParametersJSON Schema
NameRequiredDescriptionDefault
entityYesOwner entity in entityType/entityId format, usually a project entity.
issueIdYesStable issue identifier that becomes issue_<normalized_id>.
titleYesShort human-readable issue title.
statusYesIssue lifecycle status.
summaryYesShort retrieval-safe summary of the issue state.
confidenceNoRaw confidence score.
sourceNoSource label for provenance.
severityNoOptional issue severity.
detailsJsonNoOptional JSON-serialized structured issue details.
discoveredAtNoOptional ISO timestamp for when the issue was first observed.
resolvedAtNoOptional ISO timestamp for when the issue was resolved.
resolutionNoOptional resolution note for resolved issues.
tagsNoOptional issue tags.
requestIdNoOptional idempotency key.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains key behavioral traits: the tool writes issue facts, preserves history by archiving prior states when status changes, and uses stable keys (issueId always maps to issue_<id>). However, it doesn't mention permissions, rate limits, or error handling, leaving some gaps for a write 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?

The description is appropriately sized and front-loaded. The first sentence states the core purpose, followed by usage guidelines and behavioral context. Every sentence adds value without redundancy, making it efficient and well-structured.

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 the tool's complexity (16 parameters, write operation) and no annotations or output schema, the description does a good job covering purpose, usage, and key behaviors. However, it lacks details on return values, error cases, or authentication needs, which would be helpful for a write tool with many parameters.

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 100%, so the schema already documents all 16 parameters thoroughly. The description adds minimal parameter semantics beyond the schema, only mentioning 'issueId' and 'status' in context. It doesn't provide additional syntax, format details, or usage examples for parameters.

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's purpose: 'Write a canonical open or resolved issue fact on a stable key.' It specifies the verb ('write'), resource ('issue fact'), and scope ('canonical'), and distinguishes it from sibling tools by explicitly contrasting with 'iranti_write' for hand-rolling issueStatus properties.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: 'Use this when you want defects, bugs, or chores to remain first-class shared memory instead of loose prose' and 'Prefer this over hand-rolling issueStatus properties through iranti_write when the fact is specifically a trackable issue lifecycle entry.' It clearly states when to use this tool versus an alternative (iranti_write).

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

iranti_write_ruleA

Write a task-scoped user operating rule with trigger keywords. Rules surface during iranti_attend only when the current context matches one or more trigger keywords. Use this for recurring guidelines that should be applied to specific task types (e.g. "always use GitHub Releases, not npm publish" triggered by "release", "publish", "npm"). Rules are stored as rule/ entities and persist across sessions.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleIdYesStable rule identifier (becomes entityId under rule/ type).
ruleYesThe rule text — what the agent should do or avoid.
triggersYesKeyword triggers. The rule surfaces when any trigger matches the attend context.
scopeNoScope of the rule. Defaults to project.
enforcementNoEnforcement level. soft=reminder, hard=required. Defaults to soft.
sourceNoSource label for provenance.
agentNoOverride the default agent id.
agentIdNoAlias for agent. Override the default agent id.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: that rules persist across sessions, are stored as entities, and surface conditionally during iranti_attend. However, it doesn't mention potential side effects, error conditions, or what happens if a rule with an existing ruleId is written, leaving some behavioral aspects unclear.

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 perfectly structured and concise with zero wasted words. It front-loads the core purpose, explains the mechanism, provides a concrete example, and concludes with persistence information—all in three efficient sentences that each earn their place.

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 creation/mutation tool with 8 parameters, no annotations, and no output schema, the description provides good contextual completeness. It explains the tool's purpose, when to use it, how rules function, and their persistence. However, it doesn't describe what happens on success/failure or return values, which would be helpful given the absence of output schema and annotations.

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?

With 100% schema description coverage, the schema already documents all 8 parameters thoroughly. The description adds minimal parameter semantics beyond the schema, only implying that 'rule' contains guideline text and 'triggers' match against attend context. This meets the baseline of 3 since the schema does the heavy lifting, but the description doesn't significantly enhance parameter understanding.

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's purpose with specific verbs ('write a task-scoped user operating rule') and resources ('rule/<rule_id> entities'), and distinguishes it from siblings by explaining its unique function of creating rules that surface during iranti_attend based on trigger keywords. It provides concrete examples like 'always use GitHub Releases, not npm publish' triggered by specific keywords.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool ('for recurring guidelines that should be applied to specific task types') and provides a clear alternative context by mentioning that rules 'surface during iranti_attend only when the current context matches one or more trigger keywords.' This creates a direct relationship with the sibling tool iranti_attend, giving clear usage context.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 16 tool updatesv0.3.37
    • First observediranti_attend
    • First observediranti_checkpoint
    • First observediranti_handshake
    • First observediranti_history
    • First observediranti_ingest
    • First observediranti_observe
    • First observediranti_query
    • First observediranti_relate
    • First observediranti_related
    • First observediranti_related_deep
    • First observediranti_remember_response
    • First observediranti_search
    • First observediranti_who_knows
    • First observediranti_write
    • First observediranti_write_issue
    • First observediranti_write_rule

TDQS

A3.9/5.0
Disambiguation4/5

Most tools have distinct purposes, but there is some overlap between iranti_observe and iranti_search (both retrieve facts) and between iranti_write and iranti_write_issue/iranti_write_rule (all write facts). The descriptions clarify differences, but an agent might initially confuse these pairs.

Naming Consistency5/5

All tools follow a consistent iranti_verb or iranti_verb_noun pattern, using snake_case throughout. The naming is highly predictable, with clear prefixes and descriptive suffixes.

Tool Count4/5

16 tools is slightly high but reasonable for a memory management system, covering handshake, checkpointing, querying, writing, and history. It might feel heavy, but each tool appears to serve a specific role in the workflow.

Completeness5/5

The toolset provides comprehensive coverage for memory operations: initialization (handshake), per-turn checks (attend), CRUD operations (write, query, search), history (history), relationships (relate, related), and specialized writes (issue, rule). No obvious gaps exist for the domain.

Maintenance

ActivityStale
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI coding agents with persistent, graph-connected memory across projects, enabling cross-project context retrieval via synaptic connections and hybrid search.
    15
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides long-term memory for AI coding agents, enabling them to remember, search, and organize information across sessions and platforms like Claude Code, ChatGPT, and Cursor.
    18
    9
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Persistent memory for AI coding agents that stores and recalls preferences, decisions, and conventions via semantic similarity, with zero cloud dependencies and plug-and-play MCP integration for Claude Code.
    Apache 2.0

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/nfemmanuel/iranti'

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