Skip to main content
Glama
shrey715

Mess MCP Server

get_monthly_bill

Get projected and confirmed mess bill for any calendar month in paise. Specify month and year to access accurate billing details for planning and analysis.

Instructions

Return the projected and confirmed mess bill for a calendar month.

Bills are returned in paise (1 INR = 100 paise).

Args: month: Month (1-12). Defaults to current month. year: Year (YYYY). Defaults to current year. api_key: API key. Falls back to MESS_API_KEY environment variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo
monthNo
api_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses non-obvious behavior: the paise unit, projected versus confirmed values, defaulting to the current month/year, and api_key falling back to MESS_API_KEY. It does not explicitly state error behavior or read-only status, but the 'Return' framing and these details are strong for a getter.

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?

The description is compact and front-loaded, leading with the core purpose, then adding the unit, defaults, and parameter meanings. Every sentence contributes useful information without restating 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?

For three optional parameters and an output schema, the description covers defaults, unit, and auth fallback, which is largely sufficient. The main gap is the lack of explicit contrast with sibling tools like get_all_bills and get_monthly_registration, though this is not critical.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 fully by documenting all three args: month range and default, year format and default, and api_key role with environment fallback. This gives an agent actionable constraints beyond the nullable type declarations in the 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 opens with a specific verb ('Return') and resource ('projected and confirmed mess bill for a calendar month'), making the tool's scope immediately clear. It distinguishes itself from siblings like get_all_bills by focusing on a single calendar month rather than all bills.

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 intended use is implied through the monthly scope and defaults for month/year, but there is no explicit guidance on when to choose this tool over alternatives such as get_all_bills. An agent must infer the boundary between monthly and range-based bill queries.

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