Skip to main content
Glama

elog_search

Search electronic logbook entries by full-text, attributes, or date range. Retrieve matching entries with metadata, attachments, and URLs for analysis or reference.

Instructions

Search logbook entries by full text, attributes, and/or date.

Args: text: Regular expression matched against entry message bodies. Use ^…$ anchors for exact matches. attributes: Exact attribute filters as regular expressions, e.g. {"Author": "^jdoe$", "Category": "DAQ"}. date_from: Inclusive range start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM[:SS]'. date_to: Inclusive range end, same formats (time defaults to 23:59:59). last_days: Show entries from the last N days instead of an explicit range. logbook: Logbook name to search, or "*" to search all known logbooks. max_results: Maximum number of entries returned per page (server cap 100000). reverse: Sort newest-first when true, oldest-first when false.

Returns {"total": int, "entries": [{id, logbook?, date_raw, date_iso?, attributes{}, text_excerpt, encoding, encoding_name, attachments[], reply_to[], in_reply_to?, url}]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
date_toNo
logbookNo*
reverseNo
date_fromNo
last_daysNo
attributesNo
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries full burden of behavioral disclosure. It explains key semantics: text and attributes are treated as regular expressions, date_to defaults to 23:59:59, reverse controls sort order, max_results has a server cap of 100000, and logbook defaults to '*'. It also details the exact return structure. These are non-obvious behaviors an agent needs to invoke correctly.

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 efficient: a one-sentence purpose, then a structured Arg list covering all parameters without redundancy, and a concise Returns line. Every sentence adds information – no padding. The main purpose is front-loaded, and parameter details are logically grouped.

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?

Despite having 8 parameters and an output schema, the description covers every parameter's semantics and the return format explicitly. It even includes defaults and edge-case behaviors (e.g., date_to time default). Nothing an agent needs to call this tool correctly is missing, and the provided output schema complements rather than replaces the description.

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 description coverage is 0%, so the description must supply meaning for all 8 parameters. It does so comprehensively: each parameter gets a clear explanation with examples (e.g., attribute regex syntax, date formats, use of '^…$' for exact text match, and the logic of last_days vs. explicit range). This adds value far beyond the bare 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 opens with 'Search logbook entries by full text, attributes, and/or date' – a specific verb, resource, and filtering criteria. This clearly distinguishes it from sibling tools like elog_get_entry (single entry) and elog_list_logbooks (list logbooks). An agent immediately understands the tool's role and scope without needing to inspect siblings.

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?

No explicit guidance is given for when to choose this tool over alternatives. While the description implies it is for flexible searching, it does not mention that elog_get_entry should be used when an entry ID is known, or elog_get_recent_entries for recent entries. The agent must infer these distinctions from the tool names and parameters.

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/ast0815/elog-mcp'

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