Skip to main content
Glama

AMIRA — Africa Multiple Research Data

Publication facets

list_publication_facets
Read-onlyIdempotent

Count publications by type, year, language, subject, author/editor or venue across the complete filtered bibliography. Each publication counts once per value; missing_values counts records without this facet. Ranked by count, paginated. Use values in search_publications filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoExact type; discover values with list_publication_facets
facetYes
limitNoDefault 25, max 100
venueNoJournal/book title, partial
authorNoAuthor/editor name, either name order
offsetNo
keywordNoTitle, abstract, venue, subjects or full text; substring match
subjectNoSubject heading, partial
year_toNo
languageNoLanguage name or ISO code
year_fromNo
has_fulltextNoFilter by extracted full-text availability

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
facetYes
offsetYes
filtersNo
resultsYes
has_moreYes
next_offsetNo
total_matchesYes
missing_valuesYes
effective_limitNo
requested_limitNo
total_publicationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely non-obvious semantics: one count per value per publication, missing_values for records lacking the facet, and count-descending ordering with pagination. It stops short of stating how filters combine (AND/OR) or how missing_values is returned.

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?

Three dense sentences with no filler, front-loaded with the counting behavior, then accuracy caveats (one count per value, missing_values), then ordering/pagination and the downstream use. Nothing is redundant with the schema.

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

Completeness4/5

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

With a rich annotation set and a declared output schema, the description does not need to explain return shape, and the counting/pagination semantics plus downstream filter usage cover the essentials. Remaining gaps: no sibling disambiguation against list_years/list_subjects and no clarification of how the 12 filter params compose.

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 coverage is 67%, so most parameters are self-documented; the description adds the key insight that the filter parameters scope the counted bibliography. It does not explain semantics for year_from/year_to, keyword scope beyond the schema text, or how `facet` interacts with the returned values. Baseline 3 is appropriate.

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?

Names a specific verb (count) and resource (publications) and enumerates the facet dimensions precisely, which tells an agent exactly what comes back. It does not, however, distinguish itself from sibling list_* tools (list_years, list_subjects, list_categories, list_journals) that plausibly return overlapping value sets.

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?

'Use values in search_publications filters' gives the downstream purpose, and the schema's `type` param echoes the round trip. But there is no when-not guidance, no statement of how this differs from list_subjects/list_years, and no indication of whether the filter parameters must mirror the ones passed to search_publications.

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.