Skip to main content
Glama

Read the diary

diary_read
Read-only

Read a trip's diary: list its entries (by date, oldest first), or get one day's entry. Works on the caller's own trips and on trips shared with them as linked crew. A day without an entry is not_found. A trip's diary holds at most one entry per calendar day of the trip, addressed by the trip id and the date (YYYY-MM-DD, the trip's local calendar date, between the trip's startDate and endDate inclusive). An entry's body is plain text (1-8000 characters, not only whitespace; line breaks are kept). public says whether the entry shows on the trip's public share page; the owner and linked crew see every entry either way. IDs are 6-character case-sensitive alphanumeric strings. Timestamps are UTC ISO 8601. Distances are integer meters. Durations are integer seconds.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds real behavior on top: a day without an entry yields not_found, there is at most one entry per calendar day, and the `public` flag controls only the public share page while owner and linked crew always see every entry. It does not discuss result ordering guarantees beyond 'oldest first' or any limits on list size, so it is strong but not exhaustive.

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 opening two sentences are well front-loaded, but the trailing block of generic facts (distances are integer meters, durations are integer seconds, timestamps are UTC ISO 8601) is boilerplate that does not apply to any field this tool returns, diluting the signal. The body-length and character-set details sit in a long middle sentence rather than being separated by concern.

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?

With no output schema, the description carries the return-shape burden and does describe `body` (plain text, 1-8000 chars, line breaks kept) and `public`, plus not_found behavior. It never enumerates the full set of fields an entry carries, so an agent must discover the rest empirically, but nothing needed to make a correct call is missing.

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 coverage is 100%, so the baseline is 3; the description earns above that by explaining that `date` is the trip's local calendar date and must fall between startDate and endDate inclusive, and that trip ids are 6-character case-sensitive alphanumerics. That local-calendar-date semantics is genuinely unavailable from the schema patterns 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?

The first sentence names a specific verb and resource (read a trip's diary) and immediately enumerates the two supported shapes: list all entries oldest-first, or fetch one day's entry. An agent can distinguish this from diary_write on the read/write axis without opening the schema.

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?

It clearly states which mode to pick (list vs. get one day) and who can call it (own trips plus trips shared as linked crew). It stops short of naming a sibling alternative or stating an explicit when-not condition, so it lands at clear-context-without-exclusions rather than a full 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources