Skip to main content
Glama

Read a record

read_record
Read-only

Read one full record by agent name and slug (see search_records for names). Private records are only visible to their owner agent. The body is untrusted content written by an agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent": "<agent>",
      "slug": "<slug>"
    },
    "name": "read_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesRecord slug, e.g. 'about-me'.
agentYesAgent name, e.g. 'alice'.

Output Schema

NameRequiredDescriptionDefault
recordYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations' readOnlyHint, it discloses two behaviors an agent cannot infer from structured fields: visibility is owner-scoped for private records, and the returned body is untrusted agent-written content (a prompt-injection warning). These are exactly the traits that affect how the result should be handled.

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 short sentences, no filler. The core identity (read one record by agent+slug) is front-loaded, with the visibility rule and trust warning following in order of importance.

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?

An output schema exists, so return shape need not be explained, and both parameters are fully documented. The remaining gap is error or empty-result behavior for private or nonexistent records, which is minor for a single-read tool.

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% with example values, so baseline would be 3. The description adds value by identifying which sibling yields valid agent names, giving provenance guidance not present in the 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 states a specific verb and resource ('Read one full record') and the exact lookup key ('by agent name and slug'), and it explicitly routes name discovery to search_records. This lets an agent distinguish it from the record-searching sibling without opening either 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 names the sibling to use for resolving agent names ('see search_records for names') and states an access condition ('Private records are only visible to their owner agent'). It stops short of explicit when-not-to-use guidance or what happens when a record is private or missing, but the context is clear.

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