Skip to main content
Glama

SharehouseHub

Split rent and bills between housemates

split_house_costs
Read-only

Splits a house's weekly rent and shared bills between housemates. Rent can be split equally or by room weights (for example a bigger room or an ensuite counts more). Bills and shared costs are split equally or by weights. Deterministic arithmetic from the figures given, nothing is stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "totalRentPerWeek": "<totalRentPerWeek>",
      "housemates": "<housemates>"
    },
    "name": "split_house_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitRentNo
housematesYes
totalRentPerWeekYes
sharedCostsPerWeekNoUtilities, internet and other shared costs per week

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish readOnlyHint=true and openWorldHint=false, and the description usefully adds that the operation is deterministic and stores nothing. It does not cover output shape, rounding, or edge-case handling, so it falls short of full behavioral disclosure.

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 three tight sentences with the core purpose front-loaded and no unnecessary wording. Each sentence adds useful context about the split modes or the no-storage behavior.

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

Completeness3/5

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

For a four-parameter calculation tool with no output schema and low schema description coverage, the description covers the main behavior but omits return format, rounding behavior, and parameter-level details. It is adequate but not fully complete for reliable invocation.

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 description coverage is only 25%, so the description must compensate, and it does explain the rent and bill splitting modes conceptually. It does not fully map those concepts to every parameter or explain all constraints, leaving some semantic gaps.

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 states a specific verb and resource: splitting weekly rent and shared bills between housemates. It also clarifies that this is arithmetic from supplied figures and not stored data, which helps separate it from retrieval siblings, though no sibling is named explicitly.

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 description implies this is a calculation tool rather than a stored-data lookup by saying it is deterministic arithmetic from the figures given. However, it does not explicitly state when to use this tool versus alternatives such as get_house_bills or get_house_rent.

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.