Skip to main content
Glama

Get Scholarly Work

get_scholarly_work
Read-onlyIdempotent

Fetch a single scholarly work from OpenAlex by its OpenAlex ID (e.g. "W2741809807") or DOI (e.g. "10.1038/s41586-021-03819-2"). Returns the full record + reconstructed abstract and the works it CITES (referenced_works), for backward citation-graph navigation. Use after search_works, or whenever you have a DOI/ID. (Named get_scholarly_work to avoid colliding with Crossref get_work.)

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
idYesOpenAlex work ID ("W...") or a DOI ("10.xxxx/yyyy" or a full doi.org URL).
_apiKeyNoOpenAlex API key. Optional, Pipeworx supplies one; pass your own to bill your account instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"OpenAlex API key. Optional — Pipeworx supplies one; pass your own to bill your account instead."New value: +"OpenAlex API key. Optional, Pipeworx supplies one; pass your own to bill your account instead."
  2. Changed1 schema field changed
    • addedInput schema / properties / _apiKey
      Added value: +{
      +  "description": "OpenAlex API key. Optional — Pipeworx supplies one; pass your own to bill your account instead.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "W2741809807"
      +  },
      +  {
      +    "id": "10.1038/s41586-021-03819-2"
      +  }
      +]
  4. Changed1 schema field changed
    • removedInput schema / properties / citing_limit
      Removed value: -{
      -  "description": "How many top (most-cited) citing works to include (0-25, default 5).",
      -  "type": "number"
      -}
  5. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered; the description adds genuinely new information about what comes back (full record, reconstructed abstract, referenced_works) and clarifies the citation direction is backward-only. It does not cover failure behavior for an unrecognized ID/DOI or any rate-limit concerns, which keeps it short of a 5.

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?

Three tight sentences, with the core verb/resource/ID contract front-loaded and the return contents immediately after. The trailing parenthetical about the name colliding with Crossref get_work is minor disambiguation value but is the one bit that reads as author-facing rather than agent-facing.

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?

There is no output schema, so the description carries the return-value burden, and it does so adequately by naming the fields an agent will get and the citation direction. With only one required parameter and full annotation coverage, what remains missing (error cases, whether the citation list is paginated) is modest.

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 both the id formats (W-ID, DOI, doi.org URL) and the optional _apiKey. The description restates the same accepted identifier forms with examples rather than adding new semantics, so the baseline 3 is appropriate.

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 (fetch), a specific resource (single scholarly work), the source system (OpenAlex), and the accepted identifiers (OpenAlex ID or DOI), with concrete example values. It also explicitly separates itself from the listing/search path by saying 'Use after search_works', so an agent can distinguish it from sibling search tools without opening a 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?

Gives a clear usage rule: call it after search_works, or whenever a DOI/ID is already in hand. That implicitly routes ID-less lookups to search, though it never states the negative case (e.g. 'do not use to search by topic/keyword') in so many words, and the alternate it names does not exactly match the sibling name openalex_search_works.

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.