Skip to main content
Glama

Browse a category

browse_category
Read-onlyIdempotent

Browse IMSLP works by category (genre, key, instrumentation, or period) using the library's own names. Get paginated results and use cursors to continue exploring classical scores.

Instructions

Read the works IMSLP files under a category: a genre, a key, an instrumentation or a period. The library writes these names itself, and get_work hands them back for a work under 'genre_categories': 'Nocturnes', 'For piano', 'Scores featuring the piano', 'B-flat minor'. Pass one of those rather than a name of your own, since a category the library does not hold answers exactly as an empty one does. The 'Category:' prefix may be left out. The library cannot cross two categories, so a question naming both a genre and an instrument is answered by browsing one and reading the other off each work. IMSLP publishes no count of what a category holds, so 'total' is always null; 'has_more' and 'cursor' say whether more rows remain and how to read them. When you show a work to a user, credit IMSLP and link the page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRows to serve, from 1 to 100.
cursorNoThe 'cursor' a previous answer named, to read on from where it stopped. The library writes it itself, so it is passed back as it was given rather than built.
categoryYesThe category to read, in the library's own wording, for example 'For piano', 'Nocturnes' or 'Category:B-flat minor'. The prefix is added when it is left out.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYes
notesYes
totalYesAlways null: IMSLP publishes no count of what a category holds.
cursorYesThe cursor to read on from, as the library named it. Null when it named none.
sourceYes
licenseYes
resultsYes
categoryYesThe category as it reached the library, prefix included.
has_moreYesTrue when the library named a cursor to continue from.
returnedYes
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses non-obvious behaviors: category names are library-controlled, missing categories return results indistinguishable from empty ones, the 'Category:' prefix is optional, cross-category queries are unsupported, 'total' is always null, and 'has_more'/'cursor' govern pagination. It also adds an attribution and linking requirement.

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?

The description is front-loaded and every sentence carries a distinct, useful fact. It is somewhat dense and longer than strictly necessary for a listing tool, but the extra length is mostly justified by the category, empty-result, and pagination quirks.

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?

Together with the schema and annotations, the description covers what the tool does, where valid category names come from, how to handle missing categories and combinations, what pagination looks like, and how to credit IMSLP. Nothing needed to invoke the tool correctly is left unexplained.

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 the baseline is 3, but the description adds real value: category values should come from get_work and may omit the prefix, while cursor should be echoed back from a previous response rather than constructed. The limit parameter gains no extra explanation, which keeps this from a 5.

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 opens with 'Read the works IMSLP files under a category' and enumerates the category kinds (genre, key, instrumentation, period), making the tool’s job unambiguous. It also references get_work and distinguishes browsing a category from searching or fetching a single work.

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?

It gives clear guidance to pass category names from get_work rather than inventing them, explains that unknown categories behave like empty ones, and explicitly handles the common multi-category question by advising the agent to browse one category and read the other off each work. It does not explicitly name sibling alternatives like search_works, but the usage context is still clear.

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

Install Server

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/smeet666/mcp-imslp'

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