Skip to main content
Glama
scholar-mcp

scholar-mcp

by pvliesdonk

Get Standard

get_standard
Read-only

Resolve fuzzy standard identifiers to canonical forms and retrieve records; optionally download and convert full text, returning a job handle when conversion takes time.

Instructions

Retrieve a standard by identifier (canonical or fuzzy).

Resolves fuzzy inputs (such as rfc9000 or nist 800-53 rev 5) to their canonical form before fetching. With fetch_full_text=True and docling configured, downloads and converts the full text.

With fetch_full_text=True the docling conversion takes minutes, so such a call returns a job handle to poll with get_job_result rather than the record itself. Without it, and on a cache hit, the record comes back directly.

A conversion that fails still returns the record, with the reason in full_text_error; full_text_url is there to fetch by hand. No full_text and no full_text_error means none was on offer, or docling is not configured. Neither is worth retrying.

not_found means the source answered and holds no such standard: stop asking about that identifier. A lookup that never got an answer says so instead, as rate_limited (with retryable) or upstream_error with the status and what went wrong. Both are worth retrying: the standard may well exist.

Full text is returned in pages of at most 20,000 characters. When next_offset is present, call this tool again with that value as text_offset. The cached conversion makes later pages inexpensive. Set max_chars to null only when the client can accept the complete document in one response.

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": {
      "identifier": "<identifier>"
    },
    "name": "get_standard"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_charsNoMaximum full-text characters to return, capped at 20,000. Pass ``null`` for the complete text.
identifierYesCanonical or fuzzy standard identifier. NIST SP and NISTIR publications are catalogued per revision, so include it, as in ``NIST SP 800-53 Rev. 5``. ``search_standards`` lists the published revisions.
text_offsetNoCharacter offset at which the full-text page starts.
fetch_full_textNoIf True and docling is configured, download and convert the full text PDF/HTML via docling.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.3.0
    • changedInput schema / properties / identifier / description
      Previous value: -"Canonical or fuzzy standard identifier. NIST SP and\nNISTIR publications are catalogued per revision, so include it,\nas in ``NIST SP 800-53 Rev. 5``; ``search_standards`` lists the\npublished revisions."New value: +"Canonical or fuzzy standard identifier. NIST SP and\nNISTIR publications are catalogued per revision, so include it,\nas in ``NIST SP 800-53 Rev. 5``. ``search_standards`` lists the\npublished revisions."
  2. Changed1 schema field changedv3.2.0
    • changedInput schema / properties / identifier / description
      Previous value: -"Canonical or fuzzy standard identifier."New value: +"Canonical or fuzzy standard identifier. NIST SP and\nNISTIR publications are catalogued per revision, so include it,\nas in ``NIST SP 800-53 Rev. 5``; ``search_standards`` lists the\npublished revisions."
  3. Changed2 schema fields changedv3.1.1
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": 20000,
      +  "description": "Maximum full-text characters to return, capped at 20,000.\nPass ``null`` for the complete text."
      +}
    • addedInput schema / properties / text_offset
      Added value: +{
      +  "default": 0,
      +  "description": "Character offset at which the full-text page starts.",
      +  "type": "integer"
      +}
  4. Changed4 schema fields changedv1.10.0
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  5. First observedv1.9.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description adds substantial context beyond that: multi-minute docling latency, job-handle return mode, pagination in 20,000-character pages with next_offset chaining, cache hits returning directly, and failure modes (full_text_error, not_found, rate_limited, upstream_error) with retryability per case. None of this contradicts the read-only annotation.

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-loaded with purpose, then scoped paragraphs for fuzzy resolution, full-text fetching, error semantics, and pagination. Dense and largely waste-free, though a few lines (e.g. 'Neither is worth retrying') could be folded into the surrounding sentences without loss.

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?

An output schema exists, yet the description still covers what an agent actually needs to act on: how to interpret next_offset, when a job handle is returned, and how to classify and retry errors. For a tool with an async mode and multiple failure taxonomies, nothing essential 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 baseline is 3, but the description adds real meaning: max_chars=null should only be used when the client can accept the whole document, and text_offset pairs with next_offset from the prior response. The fetch_full_text/job-handle interaction is explained in terms of consequences the schema does not state.

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?

Opens with a specific verb+resource: 'Retrieve a standard by identifier (canonical or fuzzy).' It also states the tool's unique normalization behavior (fuzzy input resolved to canonical form). It stops short of differentiating from siblings like search_standards or resolve_standard_identifier in the description itself — that routing only appears in the identifier parameter's schema text.

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 concrete conditional guidance: use fetch_full_text only when docling is configured and you want the full document, and poll with get_job_result when a job handle comes back. It also tells the agent when to stop ('not_found means... stop asking about that identifier') and when retrying is worthwhile. No explicit when-not versus search_standards, which keeps it from a 5.

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