Skip to main content
Glama

db_fulltext

Retrieve an article's full text by DOI through institutional EZproxy, save the PDF locally, and return its path, pages, and extracted text; reports when no access route exists.

Instructions

Full text of one article, by DOI, through the school's subscription (EZproxy). Saves the PDF under ~/.local/share/unitoolkit/fulltext and returns path, pages and the extracted text. Says why when there is no route (publisher outside the proxy: order it via fjärrlån; or an open-access copy exists). Capped at 20 downloads an hour: the licences allow reading for study, not bulk downloading.

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": "db_fulltext"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiNo
textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the on-disk side effect and exact save location, the return payload (path, pages, extracted text), the rate cap of 20 downloads per hour, the licence rationale behind it, and that failures are explained rather than silent.

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?

Four sentences, front-loaded with purpose and output, then failure handling, then the quota. Dense and free of filler, though the parenthetical clauses make individual sentences long enough that the rate-limit warning could be its own line.

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?

For a two-parameter tool with no output schema and no annotations, the description covers return values, storage side effects, quota, and failure modes. The remaining gap is the undocumented `text` parameter and the all-optional schema, which an agent would need clarified before calling.

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 description coverage is 0%, so the description must compensate. It explains the doi parameter's role clearly, but never mentions the `text` boolean, whose meaning is left to inference (and is mildly contradicted by the claim that extracted text is always returned). It also does not address why no parameters are required.

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: fetches the full text of one article by DOI through the school's EZproxy subscription. It also names the concrete output (PDF saved to a path plus pages and extracted text), so an agent can distinguish this from discovery-style siblings like find_sources or library without opening the 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?

Implies the right context (you have a DOI and need the actual article, not a citation) and gives explicit fallback routes when the tool cannot deliver: fjärrlån for publishers outside the proxy, or an open-access copy. It does not explicitly say when to prefer a sibling tool (e.g. to obtain a DOI first), so it stops short of full alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.