Skip to main content
Glama

Get a tenant

get_tenant
Read-onlyIdempotent

One tenant in full: contact details, every lease they hold, and their payment history summary including anything overdue.

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": {
      "tenant_email": "<tenant_email>"
    },
    "name": "get_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
tenant_emailYesThe tenant's email address.

Output Schema

NameRequiredDescriptionDefault
nameNo
noteNoWhy the result was truncated, when it was.
emailNo
phoneNo
leasesNo
paymentsNo
joined_atNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds the useful scope detail that results are a full aggregate (leases plus payment summary including overdue), which tells the agent to expect a composite payload rather than a flat contact. It says nothing about behavior when no tenant matches the email or about payload size.

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?

One front-loaded sentence with a colon-delimited list of contents; every clause carries information. Slightly compressed phrasing ('in full') could be tightened but nothing is wasted.

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 a single-parameter read tool with an output schema, the description covers the essential questions: what it returns and how much of the tenant record it includes. Only not-found behavior and payload expectations are unstated, which the output schema largely addresses.

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 100% and the single parameter is fully documented in the schema, so the baseline is 3. The description adds no format hints or lookup-failure semantics beyond 'one tenant', which the schema already conveys.

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?

Specific verb implied ('get') and resource ('one tenant'), with an explicit enumeration of what the record contains: contact details, all leases, payment summary, overdue amounts. This goes beyond the title and lets an agent distinguish it from narrower lookups like get_contact or get_lease. It stops short of naming any sibling explicitly.

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 or when-not-to-use guidance and no mention of alternatives such as get_contact or get_lease for narrower needs. The only implied usage is 'look up a single tenant's full record', which the agent must infer from the noun phrase.

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