Skip to main content
Glama

Get library item

get_library_item
Read-only

One library item with its text (a doc's full text, a file's extracted text), its link, its versions, and comments on it (on a spot of a file, a stretch of a doc, or the whole thing).

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": {
      "itemId": "<itemId>"
    },
    "name": "get_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesLibrary item ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description earns credit for disclosing the shape of the returned payload (text, link, versions, comments) and the fact that comments may be anchored to a spot in a file, a stretch of a doc, or the whole item, but says nothing about missing-ID behavior or permissions.

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 no filler; the nested parentheticals are mildly convoluted but each clause carries real information about the return payload.

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 must carry return-value information and does so thoroughly (text, link, versions, comments). For a one-parameter read tool with full annotation coverage, this is nearly complete; only error/not-found behavior is unstated.

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?

Only one parameter (itemId) with 100% schema description coverage, so the schema does the work. The description confirms the subject is a single item but adds no format, source, or acquisition guidance for the ID, so baseline 3 applies.

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?

Names a specific resource (a single library item) and enumerates exactly what the payload contains: full/extracted text, link, versions, and comments. This clearly separates it from the list/search siblings, though the verb 'get' is only implied by the name rather than stated in the description.

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

Usage Guidelines3/5

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

The singular scope ('One library item') implies retrieval by ID rather than browsing or searching, which is implied differentiation from search_library and search_company_library. However, no explicit when-to-use or when-not-to-use guidance or alternative routing is given.

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