Skip to main content
Glama

Get Icelandic Public Libraries & Library Events

get_libraries
Read-onlyIdempotent

Returns Reykjavík City Library (Borgarbókasafn) branch opening hours and upcoming events plus nearby municipal libraries from OpenStreetMap (ODbL 1.0).

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

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
limitNo
placeNoLocality or 'lat,lon' (default Reykjavík).
free_events_onlyNoOnly list events that the library lists without a ticket link (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered structurally. The description adds genuinely new context: the data sources and the ODbL 1.0 license, which implies attribution obligations for reuse. It does not say how 'nearby' is computed, whether results are cached, or anything about response shape, so the addition is useful but thin.

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 densely packed sentence with no filler, and the primary resource (Reykjavík City Library) is front-loaded. The license parenthetical is slightly awkward inline but carries real information, so no sentence is wasted.

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

Completeness2/5

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

For a five-parameter, no-output-schema tool that merges two data sources, the description leaves important gaps: no return structure description, no explanation of how OSM entries and city branches are combined or ordered, no radius semantics, and no note on how limit interacts with the two result types. Annotations cover safety but cannot cover these operational questions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, and the two undocumented parameters are lat and lon — exactly the ones that control the 'nearby municipal libraries' behavior the description advertises. The description never explains that coordinates are optional, what radius is searched, or how limit constrains the merged library-plus-event result. With low coverage, the description needed to compensate and does not.

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?

The description names a specific verb ('Returns') and concrete resources: Reykjavík City Library branch opening hours, upcoming events, and nearby municipal libraries. The data sources (Borgarbókasafn and OpenStreetMap) further pin down scope. It stops short of distinguishing itself from the sibling get_events, which an agent could easily confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this tool versus alternatives, and no mention of the sibling get_events that also returns events. The only usage signal, a default locality of Reykjavík, sits in the schema rather than the description. The agent must infer that this tool is library-specific and not a general event lookup.

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