Skip to main content
Glama

Get Entry by ID

get_entry_by_id
Read-onlyIdempotent

Retrieve a specific memory journal entry by its ID to inspect stored project context, with optional linked relationships included in the response.

Instructions

Retrieve a specific entry by its ID

Input Schema

NameRequiredDescriptionDefault
entry_idNoThe numeric ID of the entry to retrieve
use_test_dbNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. [ANTI-HALLUCINATION] If an entry returns RESOURCE_NOT_FOUND, it might belong to another workspace. Set workspace_id: "*" to search globally.
project_numberNo
include_relationshipsNoIf true, includes all linked relationships (causal, related) in the response

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
entryNo
errorNoHuman-readable error message
detailsNoAdditional error context
successNo
categoryNoError category (validation, query, connection, internal)
importanceNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
relationshipsNo
aggregated_errorsNoDetails of individual errors in a multi-step operation
importanceBreakdownNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description itself adds nothing beyond that: no note on what a miss looks like (RESOURCE_NOT_FOUND), no mention of workspace scoping, no note that relationships are included by default.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste, but the brevity is under-specification rather than efficiency — nothing was trimmed because nothing was there. It is well-formed, just thin.

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

Completeness2/5

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

Five parameters, no required ones, 60% schema coverage and a cluster of near-identical sibling tools is a lot of ambiguity for one sentence to carry. An output schema and annotations do absorb the return-value and safety burden, but the workspace-isolation and team-vs-personal routing decisions remain entirely unexplained.

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 coverage is a middling 60%, and two parameters (`use_test_db`, `project_number`) have no description in either place. The description never mentions a single parameter, so it contributes no meaning beyond what the schema already says about `entry_id` or the workspace anti-hallucination guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource pair ("retrieve a specific entry by its ID"), which is clear and unambiguous on its own. However, it gives no hint of how it differs from the sibling `team_get_entry_by_id` (or from `get_recent_entries` / `search_entries`), so the agent cannot resolve the near-identical naming without opening schemas.

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?

There is no guidance on when to use this tool versus `search_entries`, `get_recent_entries`, or the team-scoped `team_get_entry_by_id`. The only disambiguation-adjacent content (the RESOURCE_NOT_FOUND / workspace_id:"*" escape hatch) lives in the schema, not in the description.

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

Deploy Server

Other Tools