Skip to main content
Glama

Researchzy

Add paper to library

add_paper_to_library
Idempotent

Add a paper from the index to the personal library, or to a writable collection selected by collectionId. Repeat calls reuse the existing paper and collection membership. A paper can belong to multiple collections; adding a membership preserves its other memberships. Call only when the user asks to save a paper. The result has hasReadablePdf and, when it is true, readerUrl, the paper's page in the Researchzy reader. Requires a connected Researchzy account and library.write.

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": {
      "corpusId": "<corpusId>"
    },
    "name": "add_paper_to_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
corpusIdYesThe paper's corpusId from search_papers or get_paper.
collectionIdNoA collection whose canAddPapers is true, from list_collections. Omit for the personal library.

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Goes well beyond the annotations: it explains that repeat calls reuse the existing paper and membership, that adding to a collection preserves the paper's other memberships, and that the target collection must be writable. It also discloses the auth requirement (connected Researchzy account plus library.write scope) and what the result contains, which annotations alone do not convey.

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?

Front-loads the action and scope, then the idempotency/membership behavior, then the usage gate, then prerequisites. Every sentence carries information, though the closing explanation of hasReadablePdf and readerUrl partly restates what the output schema already defines, so it is slightly longer than strictly necessary.

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?

For a two-parameter write tool with full schema coverage, annotations, and an output schema, the description covers everything an agent needs: target selection, idempotency, membership preservation, user-intent gate, and auth scope. Nothing material is missing.

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%, so both parameters are already documented, but the description adds meaning: collectionId must be a writable collection and omitting it selects the personal library, and the multi-membership model clarifies what adding a collectionId does. The corpusId provenance ('from the index') is also reinforced, though the schema already names search_papers/get_paper.

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 ('Add a paper from the index to the personal library, or to a writable collection') and scopes the target via collectionId, which distinguishes it from siblings like search_papers or list_collections. An agent can tell immediately this is a membership-creating write, not a search or read.

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?

Provides an explicit gating condition: 'Call only when the user asks to save a paper,' which is a real when-to-use constraint. It also implies the prerequisite flow (corpusId from search_papers/get_paper, collectionId from list_collections) via the schema. It stops short of naming a sibling alternative or a when-not-to-use beyond the user-intent gate.

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