Skip to main content
Glama

Persist this triage's explanation to local history

record_triage_note

Save your failure explanation locally and increment its occurrence count, so future lookups of similar past failures surface the note.

Instructions

Appends your explanation for a failure signature to the local history store, and bumps its occurrence count. Local file write only -- safe to call without asking the user first, unlike publish_triage which sends data to a shared dashboard. Do this after explaining a failure so future find_similar_past_failures calls have something useful to surface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes"owner/repo"
summaryYesYour plain-language explanation of the root cause.
categoryYes
signatureYes
suggestedFixNo
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 disclosing behavior. It reveals the tool performs a local file write only, is safe to call without asking the user, and appends/increments occurrence count. It does not cover edge cases like failure handling or file locking, but provides strong transparency for a simple local 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?

Three sentences: first states the action and effect, second clarifies safety and contrast with publish_triage, third gives sequential context. Every sentence is information-dense with no filler. Front-loaded with the primary purpose.

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 simple local-write tool with no output schema, the description covers purpose, safety, usage context, and workflow integration with sibling tools. The main gap is insufficient parameter semantics for two of the five fields, but overall the tool is adequately contextualized within its triage pipeline.

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

Parameters2/5

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

Schema description coverage is low (40%), and the description does not compensate. It references 'failure signature' and 'explanation' conceptually but does not add meaning for the signature or suggestedFix parameters, nor clarify the relationship between repo/signature/category beyond what the schema already states. The description adds little value beyond the schema's sparse field descriptions.

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 uses a specific verb ('appends') and resource ('explanation for a failure signature to the local history store'), and clearly states it also bumps occurrence count. It distinguishes itself from the sibling publish_triage by explicitly contrasting local write vs. shared dashboard.

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?

It gives explicit when-to-use guidance ('Do this after explaining a failure') and names the alternative (publish_triage) with a clear differentiator (local vs. shared dashboard). It also ties the action to the purpose of enabling future find_similar_past_failures calls, making the usage context unambiguous.

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/krishanchawla/ci-triage-mcp'

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