Skip to main content
Glama
Aadi775
by Aadi775

log_error

Log session errors with message and context to enable semantic search for troubleshooting.

Instructions

Log an error that occurred during a session.

Creates an Error node with embedded message for semantic search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesID of the session where the error occurred
messageYesThe error message
contextYesAdditional context about what was happening
fileYesThe file where the error occurred
actor_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are present, so the description must carry the full burden. It mentions creating an Error node for semantic search but does not disclose whether the operation is idempotent, if duplicates are prevented, or any side effects like overwriting. This is a significant gap 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 extremely concise: two sentences, front-loaded with the core purpose, and no unnecessary words.

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?

The tool is simple with well-documented parameters and an output schema, so the description does not need to explain return values. It adds the useful detail 'for semantic search,' but could hint at return behavior or confirmation of success. Still, it is largely sufficient.

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 80% with adequate parameter descriptions. The description adds no extra meaning beyond the schema, meeting the baseline for high-coverage cases.

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 it logs an error during a session and creates an Error node for semantic search. It uses a specific verb-resource pairing ('Log an error') and distinguishes itself from sibling error-retrieval tools.

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?

The description implies usage for recording errors but does not explicitly contrast with sibling tools like get_error_details or get_recent_errors. No when-to-use or when-not-to-use guidance is 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/Aadi775/MahoRAGa'

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