Skip to main content
Glama

NL Ledger

Compare MHA and minister expenses

get_members
Read-onlyIdempotent

Rank Members of the House of Assembly by allowance spending for a fiscal year, overall or for one category (for example travel), with the average. Give a name to get one member's spending by year and category. Set group to ministers for ministers' expense claim totals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPart of a member's name.
yearNoMHA fiscal year, e.g. 2024-25. Default: the latest full year.
groupNoDefault mha.
categoryNoWords in the category name, e.g. 'travel', 'office', 'constituency'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the ranking-with-average behavior and the group switch, but says nothing about pagination, result size, or return shape. Adequate against the annotation coverage, not rich.

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?

Three tight sentences, front-loaded with the primary ranking behavior and followed by the two mode switches. No redundant or filler text; only a slight density cost from packing multiple modes into one paragraph.

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?

For a read-only, no-output-schema tool with four optional parameters, the description covers both operating modes, the grouping dimension, and the category filter. It leaves return structure unstated, but with no output schema that is a minor gap rather than a blocking one.

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. The description earns a point for explaining how parameters interact rather than just restating them: supplying name changes the tool from a ranking to a single-individual lookup, and group changes the population from MHAs to ministers. That behavioral coupling is not expressed in the schema.

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 (rank) and resource (Members of the House of Assembly by allowance spending), and clearly splits the tool into two modes: ranking with an average, versus a single member when a name is supplied. It does not explicitly distinguish itself from siblings like get_totals or get_pay, but the expense-ranking scope is unambiguous.

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 states the trigger conditions well: no name gives a ranking with the average, providing a name yields one member's spending, and group=ministers switches to minister expense claims. Missing is any explicit exclusion or naming of the alternative sibling tools for related queries.

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