Skip to main content
Glama

library

Search the Koha catalogue with per-copy availability, or retrieve a student's own loans, due dates, holds, and fines.

Instructions

The school library (Koha). With query: catalogue search with availability per copy. Without: the student's own loans with due dates and days left, holds and fines.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.7/5.0
Behavior3/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. It helpfully discloses that results include per-copy availability, due dates, days left, holds and fines, and that loans are 'the student's own' (implying an authenticated personal context). It does not state whether the tool is read-only, what permissions are needed, or how many results are returned/paginated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with zero filler, front-loading the resource identity and then the mode split. Every clause conveys distinct information an agent needs.

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?

With no annotations and no output schema, the description does well to enumerate returned fields for both modes. However, the unexplained 'limit' parameter and the absence of any note on result-size caps or pagination leave a real gap for a tool that can return unbounded lists.

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 0%, so the description must compensate for both parameters. It effectively defines the semantics of 'query' (switches to catalogue search), but says nothing at all about 'limit' — its unit, default, or maximum — leaving one of two parameters undocumented everywhere.

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 the resource precisely ('The school library (Koha)') and then defines the two distinct outputs the tool produces. An agent can tell exactly what it retrieves, though it doesn't explicitly contrast itself with any sibling tool.

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?

The 'With query / Without' construction gives explicit conditional guidance on which mode to invoke and what each returns, which is exactly the decision an agent must make. It stops short of naming alternatives or stating exclusions, so it falls just under a 5.

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