Skip to main content
Glama

How residents feel, per building

resident_pulse
Read-onlyIdempotent

The tone and the topics of what residents have been telling the account holder, per BUILDING (units at one street address), over the last 30, 90 or 180 days — counted from the messages residents sent the owner or their team in their own conversations and from answers to the account’s repair surveys. Each building carries a net figure from −100 to +100, the share of what was said that read positive, neutral and negative, the topics raised by two or more households (heat and hot water, repairs, pests, noise, responsiveness …) with the tone on each, and a comparison with the period before. WARNING, and say each of these: it describes buildings and never a person, and nothing in it names or scores a resident; a building whose state is too_few had fewer than 3 households writing and carries NO figures on purpose — that is not a calm building; quiet means nobody wrote at all; tone and topics are matched from a fixed word list, not read by a model, so they are a rough signal and miss sarcasm; each household counts once however much it wrote; and degraded names any source that could not be read. NEVER use it, or suggest using it, to decide a renewal, a rent, an application or how to treat a resident — acting against somebody for complaining is retaliation under most state laws.

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

Input Schema

NameRequiredDescriptionDefault
daysNoThe window. Default 90.
property_idNoAny unit in the building to look at alone. Leave empty for every building.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
methodNoHow the figures are counted, in the server's words.
themesNoEvery topic the word list knows, as {key, label}.
periodsNoThe windows that may be asked for.
degradedNoSources that could not be read, each {source, sentence}. Non-empty means the figures are partial.
buildingsNoOne row per building (units at one street address), the same shape as `portfolio` plus label, property_ids and units. A `too_few` row carries no figures on purpose.
guardrailNoWhat the figures must never be used for, in the server's words. Repeat it.
portfolioNoEvery building together: state (ok, too_few, quiet), households, net (-100..100, null unless ok), tone_label, distribution {positive, neutral, negative} percentages, themes[{key,label,households,share,tone,tone_label,previous_households}], trend {previous_net, change, basis, sentence} and a sentence in the server's words.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
period_daysNoThe window the figures cover: 30, 90 or 180 days.
min_householdsNoHow many households must have written before a building shows any figure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe read-only, idempotent operation, yet the description adds substantial context beyond them: `too_few` means fewer than three households and carries no figures on purpose, `quiet` means nobody wrote, `degraded` marks unreadable sources, tone is matched from a fixed word list rather than a model. It also discloses that results describe buildings rather than people, which is essential for correct interpretation.

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?

The core purpose is front-loaded in the opening clause, and the warning block is deliberately enumerated. It is dense and long, and some of the return-field detail duplicates the output schema, but nearly every clause carries interpretive or legal weight.

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

Completeness5/5

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

For a privacy-sensitive analytics tool, the definition covers granularity, window semantics, state flags, known accuracy limits, and prohibited uses. Return values are also covered by an output schema, so nothing an agent needs in order to call or interpret this correctly is missing.

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, but the description adds that the unit of analysis is a BUILDING defined as units at one street address and that the window is counted from resident messages and survey answers. That clarifies what `property_id` aggregates to in a way the schema field alone does not.

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: the tone and topics of resident messages, aggregated per building, over a 30/90/180-day window. It is far more concrete than a name restatement, but it never names or distinguishes a neighboring tool such as building_health, which plausibly overlaps at the building level.

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?

The guidance on when NOT to use it is unusually explicit: never to decide a renewal, rent, application, or treatment of a resident, framed as a retaliation risk. When to use it is only implied by the output description, and no sibling alternative is named for building-level questions.

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