Skip to main content
Glama

Custody Law by Coparley

Compare states on a custody topic

compare_states
Read-only

Returns the same custody topic for 2 to 6 states, one page after another, each with its own sources, date and address. Each page is up to about 20 KB, so ask for only the states needed.

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": {
      "topic": "<topic>",
      "states": "<states>"
    },
    "name": "compare_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPage language: "en" (default) or "es" (Spanish, for some states and topics).en
topicYesA topic slug from list_custody_topics, for example "moving-away".
statesYes2 to 6 two-letter state codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=true, openWorldHint=false), and the description adds genuinely new behavioral detail: results arrive as sequential pages, each with its own sources, date and address, at roughly 20 KB per page. That page-size warning directly informs how the caller should budget the states array, which no structured field conveys.

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?

Two sentences, both load-bearing: the first defines the output shape, the second justifies the size constraint and the guidance that follows from it. The cost warning is placed after the behavior it explains, and there is no redundant wording.

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?

With no output schema, the description does well by describing the paged return and the per-page contents. Minor gaps remain: it does not say what happens on an invalid topic slug or an unsupported state/lang combination, which matters given the Spanish-only-for-some-states caveat in the schema.

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 coverage is 100%, with per-parameter descriptions, enum for lang, and min/max items for states, so the schema already carries the semantics. The description only restates the 2-to-6 state range and the idea of a shared topic across pages, adding little beyond what the schema documents.

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 gives a specific verb and resource ("Returns the same custody topic for 2 to 6 states") and clarifies the multi-state scope that distinguishes it from a single-page fetch. It does not name the sibling get_custody_page, so the differentiation relies on the agent inferring scope from the '2 to 6 states' constraint.

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?

Usage is implied rather than stated: the multi-state framing tells the agent this is the comparison path, and "ask for only the states needed" gives an efficiency constraint. There is no explicit when-to-use versus get_custody_page, no note on when to drop to a single-state call, and no prerequisites mentioned.

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.