Skip to main content
Glama
Microfinance Warehouse MCP Server

Microfinance Warehouse MCP Server

get_glossary

Read-onlyIdempotent

Retrieve official KPI definitions and dimensions for microfinance metrics, including the loan_position SQL macro, to ensure consistent, vetted reporting.

Instructions

Official definitions of the business KPIs, the dimensions they can be split by, and the loan_position(date) SQL macro that implements outstanding principal and days overdue.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description's added value is disclosing the shape of the content (definitions, splitting dimensions, a callable macro), but it says nothing about size, caching, or whether the macro text is executable as-is. An output schema exists, so return-value detail is not required.

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 sentence with no filler, and the highest-value item (KPI definitions) is front-loaded. Every clause adds distinct information rather than restating the tool name.

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 no parameters, full annotation coverage and an output schema, the description only needs to say what the glossary contains, and it does that well, including the non-obvious SQL macro. The remaining gap is routing guidance relative to compute_kpi/run_sql, which would make it complete.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The lone nod to parameter-like semantics is the loan_position(date) signature, which usefully tells the agent the macro takes a date argument.

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 specific resource content: KPI definitions, the dimensions they can be split by, and the loan_position(date) SQL macro with its semantics (outstanding principal, days overdue). This is far more specific than the bare name get_glossary, though it is phrased as a noun list rather than 'Returns...' and never contrasts with compute_kpi or run_sql.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all — no statement that this should be consulted before calling compute_kpi or before writing SQL against loan_position, and no exclusions. An agent must infer from the content that this is the reference-lookup tool rather than an execution tool.

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

Deploy Server

Other Tools