Skip to main content
Glama
Library of Congress MCP Server

Library of Congress MCP Server

by wmo4buva

loc_get_resource

Retrieve detailed information about a specific Library of Congress resource, such as an individual page or segment of an item, by its unique identifier.

Instructions

Get information about a specific resource (individual page/segment of an item)

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": {
      "resourceId": "<resourceId>"
    },
    "name": "loc_get_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
attributesNoSpecific attributes to return
resourceIdYesUnique identifier of the resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it only implies read-only behavior through the word "Get". It says nothing about permissions or authentication needs, error behavior for invalid resource IDs, or what the response contains, which leaves meaningful gaps for a tool with zero annotation coverage.

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 wasted wording, and the parenthetical earns its place by defining "resource". It is efficient, though it is too terse to provide real structure or prioritization of details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple two-parameter read tool, so the low complexity keeps the description close to adequate. However, with no output schema and no annotations, an agent gets no sense of what information is returned or how the attributes parameter shapes the response, leaving a real but modest gap.

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 both resourceId and the attributes array are already documented in the schema. The description adds no additional meaning about the attributes partial-selection parameter, so the 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?

"Get information about a specific resource" names a clear verb and resource, and the parenthetical "(individual page/segment of an item)" defines what a resource is relative to an item, which helps separate it from loc_get_item and loc_get_collection. It stops short of explicitly contrasting with those siblings, so a 4 rather than a 5.

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?

Usage is implied by the singular, ID-based nature of the call, but the description never states when to prefer this over loc_get_item or loc_get_collection. The clarifying parenthetical gives a hint about the item/page/segment hierarchy without turning it into explicit routing guidance.

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