Skip to main content
Glama
babosina

LibraryMCP

by babosina

get_loans

Retrieve all active, unreturned loans for a library member using their member ID.

Instructions

Lists all active (not yet returned) loans for a member by member ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
member_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden and does disclose a key behavioral trait: it returns only active (not yet returned) loans, not the full loan history. It does not mention edge cases like missing member IDs, pagination, or ordering, but as a read-only listing tool these are less critical.

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?

A single well-structured sentence front-loads the core purpose ('Lists all active loans') and immediately adds the filtering criterion and parameter scope. Every word is necessary, with no fluff or repetition.

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?

For a simple read-only list operation with one required parameter and an existing output schema, the description covers the essential invocation context: what is returned, the filter, and how to scope it. No additional information is needed to call this tool correctly.

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%, but the description compensates by explaining that member_id is used to scope the result set to one member's loans. While it doesn't add format details, clarifying the role of the sole required parameter provides sufficient meaning beyond the raw schema.

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?

The description uses a specific verb and resource ('Lists ... loans') and includes critical scoping ('active (not yet returned)', 'by member ID'). This clearly distinguishes it from sibling tools like get_book or return_book, which target different resources or actions.

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?

The description implies when to use the tool: when you need a member's currently active loans and already have a member ID. However, it does not explicitly state exclusions or point to any alternative, leaving selection guidance mostly implicit.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/babosina/libraryMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server