Skip to main content
Glama

Read a library item

get_saved_article
Read-only

Read one library item by id. Stored article text is token-budgeted and supports a paragraph cursor so long documents never flood the agent context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUUID that identifies the resource; pass it back exactly as smry returned it.
cursorNo
max_tokensNo
include_contentNoInclude the item's stored article text. Defaults to true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"UUID that identifies the resource; pass it back exactly as smry returned it."
    • addedInput schema / properties / include_content / description
      Added value: +"Include the item's stored article text. Defaults to true."
    • addedOutput schema / properties / item / allOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "articleStatus": {
      +        "type": "string"
      +      },
      +      "asset": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "checksum": {
      +                "type": "string"
      +              },
      +              "downloadUrl": {
      +                "type": "string"
      +              },
      +              "fileName": {
      +                "type": "string"
      +              },
      +              "itemId": {
      +                "description": "UUID that identifies the resource; pass it back exactly as smry returned it.",
      +                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +                "type": "string"
      +              },
      +              "mimeType": {
      +                "type": "string"
      +              },
      +              "resourceUri": {
      +                "type": "string"
      +              },
      +              "size": {
      +                "type": "number"
      +              },
      +              "updatedAt": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "itemId",
      +              "fileName",
      +              "mimeType",
      +              "size",
      +              "checksum",
      +              "updatedAt",
      +              "resourceUri",
      +              "downloadUrl"
      +            ],
      +            "type": "object",
      +            "x-smry-component": "LibraryAsset"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "captureMethod": {
      +        "anyOf": [
      +          {
      +            "const": "reader",
      +            "type": "string"
      +          },
      +          {
      +            "const": "extension",
      +            "type": "string"
      +          },
      +          {
      +            "const": "upload",
      +            "type": "string"
      +          },
      +          {
      +            "const": "rss",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email_inbox",
      +            "type": "string"
      +          },
      +          {
      +            "const": "api",
      +            "type": "string"
      +          },
      +          {
      +            "const": "import",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "classification": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "confidence": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "method": {
      +            "anyOf": [
      +              {
      +                "const": "user",
      +                "type": "string"
      +              },
      +              {
      +                "const": "source_adapter",
      +                "type": "string"
      +              },
      +              {
      +                "const": "mime",
      +                "type": "string"
      +              },
      +              {
      +                "const": "extension",
      +                "type": "string"
      +              },
      +              {
      +                "const": "url",
      +                "type": "string"
      +              },
      +              {
      +                "const": "metadata",
      +                "type": "string"
      +              },
      +              {
      +                "const": "legacy",
      +                "type": "string"
      +              },
      +              {
      +                "const": "fallback",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "updatedAt": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "confidence",
      +          "version",
      +          "updatedAt"
      +        ],
      +        "type": "object"
      +      },
      +      "contentKind": {
      +        "anyOf": [
      +          {
      +            "const": "article",
      +            "type": "string"
      +          },
      +          {
      +            "const": "website",
      +            "type": "string"
      +          },
      +          {
      +            "const": "book",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "social_post",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "podcast_episode",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "externalId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fileName": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "format": {
      +        "anyOf": [
      +          {
      +            "const": "html",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "epub",
      +            "type": "string"
      +          },
      +          {
      +            "const": "markdown",
      +            "type": "string"
      +          },
      +          {
      +            "const": "plain_text",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "spreadsheet",
      +            "type": "string"
      +          },
      +          {
      +            "const": "presentation",
      +            "type": "string"
      +          },
      +          {
      +            "const": "audio",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "lastReadAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "metadata": {
      +        "patternProperties": {
      +          "^(.*)$": {}
      +        },
      +        "type": "object"
      +      },
      +      "mimeType": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "originalUrl": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "readProgress": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "savedAt": {
      +        "type": "string"
      +      },
      +      "starred": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "url",
      +      "originalUrl",
      +      "title",
      +      "domain",
      +      "contentKind",
      +      "classification",
      +      "captureMethod",
      +      "format",
      +      "mimeType",
      +      "fileName",
      +      "asset",
      +      "externalId",
      +      "status",
      +      "starred",
      +      "tags",
      +      "savedAt",
      +      "updatedAt",
      +      "lastReadAt",
      +      "readProgress",
      +      "articleStatus"
      +    ],
      +    "type": "object",
      +    "x-smry-component": "LibraryItem"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "article": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / item / properties
      Removed value: -{
      -  "article": {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "articleStatus": {
      -    "type": "string"
      -  },
      -  "asset": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": {},
      -        "properties": {
      -          "checksum": {
      -            "type": "string"
      -          },
      -          "downloadUrl": {
      -            "type": "string"
      -          },
      -          "fileName": {
      -            "type": "string"
      -          },
      -          "itemId": {
      -            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      -            "type": "string"
      -          },
      -          "mimeType": {
      -            "type": "string"
      -          },
      -          "resourceUri": {
      -            "type": "string"
      -          },
      -          "size": {
      -            "type": "number"
      -          },
      -          "updatedAt": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "itemId",
      -          "fileName",
      -          "mimeType",
      -          "size",
      -          "checksum",
      -          "updatedAt",
      -          "resourceUri",
      -          "downloadUrl"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "captureMethod": {
      -    "anyOf": [
      -      {
      -        "const": "reader",
      -        "type": "string"
      -      },
      -      {
      -        "const": "extension",
      -        "type": "string"
      -      },
      -      {
      -        "const": "upload",
      -        "type": "string"
      -      },
      -      {
      -        "const": "rss",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email_inbox",
      -        "type": "string"
      -      },
      -      {
      -        "const": "api",
      -        "type": "string"
      -      },
      -      {
      -        "const": "import",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "classification": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "confidence": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "method": {
      -        "anyOf": [
      -          {
      -            "const": "user",
      -            "type": "string"
      -          },
      -          {
      -            "const": "source_adapter",
      -            "type": "string"
      -          },
      -          {
      -            "const": "mime",
      -            "type": "string"
      -          },
      -          {
      -            "const": "extension",
      -            "type": "string"
      -          },
      -          {
      -            "const": "url",
      -            "type": "string"
      -          },
      -          {
      -            "const": "metadata",
      -            "type": "string"
      -          },
      -          {
      -            "const": "legacy",
      -            "type": "string"
      -          },
      -          {
      -            "const": "fallback",
      -            "type": "string"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "type": "string"
      -      },
      -      "version": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "method",
      -      "confidence",
      -      "version",
      -      "updatedAt"
      -    ],
      -    "type": "object"
      -  },
      -  "contentKind": {
      -    "anyOf": [
      -      {
      -        "const": "article",
      -        "type": "string"
      -      },
      -      {
      -        "const": "website",
      -        "type": "string"
      -      },
      -      {
      -        "const": "book",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "social_post",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "podcast_episode",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "domain": {
      -    "type": "string"
      -  },
      -  "externalId": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "fileName": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "format": {
      -    "anyOf": [
      -      {
      -        "const": "html",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "epub",
      -        "type": "string"
      -      },
      -      {
      -        "const": "markdown",
      -        "type": "string"
      -      },
      -      {
      -        "const": "plain_text",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "spreadsheet",
      -        "type": "string"
      -      },
      -      {
      -        "const": "presentation",
      -        "type": "string"
      -      },
      -      {
      -        "const": "audio",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "lastReadAt": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "metadata": {
      -    "patternProperties": {
      -      "^(.*)$": {}
      -    },
      -    "type": "object"
      -  },
      -  "mimeType": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "originalUrl": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "readProgress": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "savedAt": {
      -    "type": "string"
      -  },
      -  "starred": {
      -    "type": "boolean"
      -  },
      -  "status": {
      -    "type": "string"
      -  },
      -  "tags": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "type": "string"
      -  },
      -  "url": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / item / required
      Removed value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "starred",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]
    • removedOutput schema / properties / item / type
      Removed value: -"object"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / item / properties / starred
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / item / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]New value: +[
      +  "id",
      +  "url",
      +  "originalUrl",
      +  "title",
      +  "domain",
      +  "contentKind",
      +  "classification",
      +  "captureMethod",
      +  "format",
      +  "mimeType",
      +  "fileName",
      +  "asset",
      +  "externalId",
      +  "status",
      +  "starred",
      +  "tags",
      +  "savedAt",
      +  "updatedAt",
      +  "lastReadAt",
      +  "readProgress",
      +  "articleStatus"
      +]
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), and the description adds genuinely non-obvious behavior: stored text is token-budgeted and paginated via a paragraph cursor specifically so long documents don't flood agent context. That is useful operational context beyond the annotations, though it doesn't mention default token limits or how the cursor terminates.

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?

Two tight sentences with zero waste; the core action is front-loaded and the pagination/token behavior follows immediately. Every sentence earns its place.

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 values need no explanation, and the safety profile is covered by annotations. The description supplies the one piece an agent could not infer โ€“ the token-budgeted, cursor-based retrieval model โ€“ making it largely complete, with only minor gaps around max_tokens defaults and cursor termination.

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 50% โ€“ id and include_content are documented in-schema, while cursor and max_tokens are not. The description compensates by explaining the purpose of both (paragraph cursor for long documents, token budget for context control), giving semantics for the undocumented parameters, though it stops short of describing cursor step size or the max_tokens default.

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?

States a specific verb ("Read") and resource ("one library item by id"), so an agent knows exactly what it does. However, it does not distinguish itself from near-neighbors like get_article, get_library_item/get_library_object, or search_saved_item, leaving sibling disambiguation to the id semantics.

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?

Provides no when-to-use guidance, no prerequisites, and no alternatives such as search_saved_item for lookup-by-query versus this tool's lookup-by-id. Usage context is only weakly implied by "by id."

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