Skip to main content
Glama

Zayley: the international school matcher

Get family living grade

get_family_living_grade
Read-onlyIdempotent

Family living data grade for a city hub with at least five published schools. Needs homicide, UHC and PM2.5. Not a verdict. PM2.5 is a country figure for cities.

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": {
      "country": "<country>",
      "city": "<city>"
    },
    "name": "get_family_living_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
countryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioural context beyond that: the grade depends on homicide, UHC and PM2.5 inputs, PM2.5 is a country-level figure applied to cities, and the result should not be treated as a verdict. It stops short of describing failure behaviour for cities below the school threshold or how partial data affects the grade.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the core purpose, with no filler sentences. But it is written as disconnected fragments rather than coherent prose, which hurts scanability and forces the reader to piece together the meaning. Brevity here reflects under-specification rather than disciplined editing.

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

Completeness2/5

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

With no output schema, no parameter descriptions and four undeclared data dependencies, the description leaves important things unresolved: what a 'grade' looks like (scale, categories), what happens when a city fails the five-school test or lacks homicide/UHC data, and how to interpret the result. For a graded composite metric this is materially incomplete despite the helpful 'not a verdict' caveat.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for the two required parameters, yet it never explains the expected form of 'city' (city hub name vs. plain city) or 'country'. The only incidental clarification is that PM2.5 is a country figure, which hints at country scoping but does not document either parameter's format or constraints. It adds little usable meaning over the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (a 'family living data grade') and a scope precondition (a city hub with at least five published schools), so the general intent is graspable. However, it is written in telegraphic fragments with no explicit verb, and 'data grade' / 'city hub' are jargon that leave the exact nature of the output ambiguous. It does not differentiate this tool from neighbours like get_city_guide or fees_index.

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?

The only usage-like signal is the implicit eligibility rule that a city needs at least five published schools, which hints at when the tool is applicable. There is no statement of when to prefer this over sibling tools, no mention of what happens for ineligible cities, and no guidance on interpreting or acting on the grade beyond the terse 'Not a verdict'. Guidance is essentially absent.

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