Skip to main content
Glama

Read a letter

read_letter

Read a photo of an old handwritten letter, postcard or document with FamilyLore: the transcription in its own script, a translation and notes on what it meant then. Use it when the person attaches a photo of a handwritten page and asks what it says. It reads pre-1918 Russian and Ukrainian cursive, German Kurrent and Sütterlin, Yiddish, and old English cursive. It also reads Chinese family genealogies (jiapu, zupu) in a regular, print-like hand; for those, leave the language out. It needs the person's FamilyLore account and uses one page of the account's allowance. It starts the reading and answers at once with the page id; a reading takes about a minute and a half. If the photo can't be attached here, call it without one: it answers with a one-time link where the person sends the photo to FamilyLore, and the page id to pass to get_reading once they have.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoThe year it was written, if the person knows it roughly (1912 for 'about 1912')
photoNoThe photo of the page the person attached
page_idNoA page already on FamilyLore that hasn't been read, from FamilyLore's own photo upload
languageNoThe letter's language, if the person says it or it is plain: ru_uk = Russian or Ukrainian, de_kurrent = German (Kurrent or Sütterlin), yi = Yiddish, en = English (old cursive). Leave it out and FamilyLore tells.
target_languageNoThe language to translate it into: en (English), de (German), ru (Russian), pl (Polish), it (Italian), fr (French), uk (Ukrainian), ja (Japanese). English if left out.

Output Schema

NameRequiredDescriptionDefault
statusYesreading: started (about a minute and a half); read: the page already has its reading; waiting_for_photo: the person sends the photo at upload_link, then FamilyLore reads it
page_idYesThe page's id on FamilyLore
page_urlYesThe page on familylore.ai, with the person's other pages
allowanceNoPages left, as the Account page counts them
upload_linkNowaiting_for_photo: where the person sends the photo, once
link_expires_atNoWhen upload_link stops working (UTC)
converted_from_heicNoThe photo was an iPhone HEIC, read as a JPEG

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / target_language / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "en",
      -      "de",
      -      "ru",
      -      "pl",
      -      "it",
      -      "fr",
      -      "uk"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "en",
      +      "de",
      +      "ru",
      +      "pl",
      +      "it",
      +      "fr",
      +      "uk",
      +      "ja"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / target_language / description
      Previous value: -"The language to translate it into: en (English), de (German), ru (Russian), pl (Polish), it (Italian), fr (French), uk (Ukrainian). English if left out."New value: +"The language to translate it into: en (English), de (German), ru (Russian), pl (Polish), it (Italian), fr (French), uk (Ukrainian), ja (Japanese). English if left out."
  2. Changed2 schema fields changed
    • changedInput schema / properties / target_language / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "en",
      -      "de",
      -      "ru"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "en",
      +      "de",
      +      "ru",
      +      "pl",
      +      "it",
      +      "fr",
      +      "uk"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / target_language / description
      Previous value: -"The language to translate it into: en (English), de (German), ru (Russian). English if left out."New value: +"The language to translate it into: en (English), de (German), ru (Russian), pl (Polish), it (Italian), fr (French), uk (Ukrainian). English if left out."
  3. Changed2 schema fields changed
    • changedInput schema / properties / language / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "ru_uk",
      -      "de_kurrent",
      -      "yi"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ru_uk",
      +      "de_kurrent",
      +      "yi",
      +      "en"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / language / description
      Previous value: -"The letter's language, if the person says it or it is plain: ru_uk = Russian or Ukrainian, de_kurrent = German (Kurrent or Sütterlin), yi = Yiddish. Leave it out and FamilyLore tells."New value: +"The letter's language, if the person says it or it is plain: ru_uk = Russian or Ukrainian, de_kurrent = German (Kurrent or Sütterlin), yi = Yiddish, en = English (old cursive). Leave it out and FamilyLore tells."
  4. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare a non-read-only, open-world, non-idempotent operation, and the description is consistent with that: it discloses the account requirement, that one page of the allowance is consumed, that it returns a page id immediately, that a reading takes about a minute and a half, and the upload-link fallback. That is genuinely useful context beyond the annotations. However, the description spends most of its length on script coverage and the fallback flow rather than the cost/async behavior details, so it adds context without fully rounding out the mutation profile.

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?

The purpose and the when-to-use trigger are front-loaded in the first two sentences, and every subsequent sentence carries operational information (scripts covered, account requirement, allowance cost, async timing, fallback flow). It is, however, a dense run of six "It..." sentences with no structure, so the cost and timing details are easy to miss on a fast read.

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?

An output schema exists, so return values need not be described, yet the definition still explains the essential async contract: an immediate page id, roughly ninety seconds of work, and get_reading for the result. Together with the account/allowance note and the no-attachment fallback, an agent has everything needed to call this correctly the first time.

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 description coverage is 100%, so the schema already documents all five parameters, including the language enum and target_language default, and a 3 is the baseline. The description does add one piece of meaning the schema cannot express: for Chinese genealogies in print-like hands, the language parameter must be omitted even though no enum value fits them. That is a marginal but real addition over 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?

States a specific verb and resource ("Read a photo of an old handwritten letter, postcard or document") and immediately names the outputs: transcription in the original script, translation, and historical notes. It carves out scope against siblings by describing itself as the start of a reading that hands a page id to get_reading, so an agent can tell it apart from the retrieval and status tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ("Use it when the person attaches a photo of a handwritten page and asks what it says") and an explicit alternative path when no attachment is possible: call without a photo, receive a one-time upload link, then pass the page id to get_reading. It also carries a script-specific rule (omit language for Chinese jiapu/zupu genealogies), leaving little to inference.

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