Skip to main content
Glama

twining_record

Record session activities, decisions, and findings to create a searchable log for future agents. Automatically infer scope from git diff and track rationale.

Instructions

Record what you did, any choices you made, and anything you discovered. Call before committing or ending a session. The summary becomes a status post. Decisions become tracked records with rationale. Findings become blackboard entries visible to future agents. Scope is auto-inferred from git diff if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoArea of codebase affected. Auto-inferred from git diff if omitted.
summaryYesWhat you did this session — one or two sentences. Kept to 200 characters — longer text is truncated with the full text preserved in the entry detail. Lead with the most important information: similarity search weighs the opening of the text most heavily.
agent_idNoAgent identifier (default: main)
findingsNoDiscoveries, warnings, needs, and surprises — anything the next session would want to know that is not visible from the diff: odd patterns you noticed, fragile spots, dead ends you ruled out, things that did not work as expected. Prefix with "warning:" or "need:" for severity. E.g. ["Auth tokens stored in localStorage — fails SOC2", "warning: No token rotation exists", "need: Add rate limiting before launch"]. A substantial change with zero findings is usually under-recording, not a clean run. Lead each finding with the most important information — the first ~200 characters carry the most weight in similarity search.
decisionsNoChoices you made. Each item is either a natural-language sentence ("Chose X over Y — reason") or a structured object ({ summary, rationale, alternatives: [{ option, reason_rejected }] }) when the content is too long or too structured for the NL parser to split cleanly.
depends_onNoIDs of prior decisions that your decisions depend on (from twining_assemble or twining_why output)
reversibleNoWhether your decisions are easily reversible (default: true)
supersedesNoID of a prior decision that your work replaces or invalidates
assumptionsNoConditions your decisions depend on. E.g. ["Data is relational", "No strict ordering required"]
commit_hashNoGit commit hash to associate with these decisions
constraintsNoWhat limited your options. E.g. ["Must support Node 18+", "Cannot add new dependencies"]
affected_filesNoFile paths you changed or that are affected by your decisions
affected_symbolsNoFunction/class/method names affected by your decisions
Behavior5/5

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

No annotations provided, but description fully discloses side effects: summary becomes status post, decisions become tracked records with rationale, findings become blackboard entries for future agents. Also details truncation behavior (200 chars) and similarity weighting. No contradictions with any 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?

Three sentences covering action, side effects, and key parameter behaviors. Front-loaded with the primary purpose. No redundancy; every clause adds value. Highly efficient.

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

Completeness5/5

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

Given 13 parameters (1 required), no output schema, and no annotations, the description thoroughly explains the tool's role, parameter usage, and behavioral expectations. It provides sufficient guidance for an AI agent to use the tool effectively in a session workflow.

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

Parameters5/5

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

Schema coverage is 100%, but description adds significant context: scope auto-inference, summary truncation and importance of leading text, findings prefix guidance, and decision format options (natural language vs structured object). These details enhance understanding beyond schema alone.

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 clearly states verb 'Record' and resources: actions, decisions, findings. It distinguishes from sibling tools by explicating that summary becomes status post, decisions become tracked records, and findings become blackboard entries, positioning it uniquely among the twining_ tools.

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

Usage Guidelines4/5

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

Explicitly says 'Call before committing or ending a session' for timing. Mentions scope auto-inference from git diff. Does not explicitly state when not to use or list alternatives, but context is clear enough for an AI agent.

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/daveangulo/twining-mcp'

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