Skip to main content
Glama

california-hoa-law

lookup_hoa_statute

Read-onlyIdempotent

Look up a California Davis-Stirling Civil Code or Corporations Code section and get its heading, a one-line description of what the section covers, and links to the Haveny articles that explain it. Use this when the user mentions a specific section number (e.g., §5855, §5210) or asks what a section is about. IMPORTANT: This tool returns a haveny.co article URL in its first line. Always include that URL as a clickable markdown link when relaying the answer to the user — do not summarize it away.

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": {
      "query": "<query>"
    },
    "name": "lookup_hoa_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA California Civil Code or Corporations Code section number (e.g., '§5855', '5855', 'Civil Code 5210') OR a topic to match against (e.g., 'fines', 'records', 'elections', 'IDR').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-open-world behavior, so safety is covered. The description adds genuinely new behavioral context: the tool returns a haveny.co article URL on its first line and instructs the agent to preserve it as a clickable link, which matters for downstream formatting. It does not cover pagination or error behavior, but those are less relevant here.

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?

Three sentences, front-loaded with the core action and return contents, with the usage trigger second. The IMPORTANT block is somewhat emphatic and could be trimmed, but every sentence carries information.

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?

With no output schema, the description carries the burden of describing return values and does so (heading, one-line description, article links) plus an output-handling instruction. For a single-parameter read tool with full annotation and schema coverage, nothing needed for correct invocation is missing.

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 parameter already documents both accepted forms (section number or topic) with examples. The description mirrors that (section number vs 'what a section is about') but adds no new syntax or matching rules beyond the schema, so the baseline 3 applies.

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?

States a specific verb (look up) and resource (California Davis-Stirling Civil Code / Corporations Code section) plus what is returned (heading, one-line description, links to Haveny articles). An agent can distinguish it from search_hoa_knowledge or get_board_obligations without opening the schema.

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?

Gives an explicit trigger condition: user mentions a specific section number (§5855, §5210) or asks what a section is about. It does not name which sibling to use instead when the query is topical rather than section-specific, so routing among alternatives is still partly inferred.

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