Skip to main content
Glama

Custody Law by Coparley

Get a custody page

get_custody_page
Read-only

Returns one state's checked custody page on one topic as Markdown: the answer, what the law says with a source link for each statement, the date it was last checked, the notice, and the page's address.

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": {
      "state": "<state>",
      "topic": "<topic>"
    },
    "name": "get_custody_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPage language: "en" (default) or "es" (Spanish, for some states and topics).en
stateYesTwo-letter US state code, for example "ca" or "TX".
topicYesA topic slug from list_custody_topics, for example "moving-away".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a safe, closed read, so the bar is lower; the description adds genuine context by enumerating what comes back (answer, sourced legal statements with per-statement links, last-checked date, notice, page address) and the Markdown format. It does not cover what happens when a state/topic has no checked page or whether the notice carries any caveats about currency, which is the main remaining gap.

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?

A single front-loaded sentence that leads with the action and then itemizes the return contents, with no filler or repetition. The enumeration is long but every element (source links, last-checked date, notice) conveys distinct information an agent would otherwise lack.

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 correctly carries the burden of describing return values and does so concretely, and the input schema fully covers the three parameters. The missing piece is failure/miss behavior and any hint about content currency beyond the last-checked date, which keeps it from being fully complete for a content-retrieval tool.

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%, so parameters, their examples, and the lang enum (including the 'only some states and topics' caveat) are already documented in structured form. The description reinforces 'one state' and 'one topic' but adds no additional meaning, such as case sensitivity or what to do if a topic slug is unknown — baseline 3 applies.

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 ('Returns one state's checked custody page on one topic') and scopes it to a single state/topic, which implicitly separates it from a multi-state comparison tool. It stops short of naming a sibling or explicitly contrasting itself with compare_states, so the differentiation is inferential rather than stated.

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 only implied: the single-state, single-topic framing suggests when this is the right call, and the schema points to list_custody_topics for valid topic slugs. There is no explicit when-to-use, when-not-to-use, or 'for multi-state comparison use X instead' guidance an agent could act on without reasoning about the siblings itself.

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.