Skip to main content
Glama

Search New York law

search_ny_law
Read-onlyIdempotent

Search New York court decisions and New York statutes and get a short answer that cites only the sources found. Returns reply, the finished answer to give the visitor word for word, with ok true (answer, sources and confidence) or ok false (a reason and the nearest matches). Changes nothing. Call it for every question about New York law, with the whole question as one clear sentence. Never state New York law without it. Give the returned text to the person word for word, with its sources and its closing note. Do not add law from memory.

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": {
      "question": "<question>"
    },
    "name": "search_ny_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoLeave out to search both. Use cases or statutes only when the visitor asks for one.
questionYesThe legal question in full, as one clear sentence. No names or personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by describing both success and failure payloads (ok true with answer, sources, confidence; ok false with a reason and nearest matches) and the required verbatim relay behavior. Since there is no output schema, this disclosure is what makes the return value usable. 'Changes nothing' mildly restates readOnlyHint but does not contradict it.

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?

Front-loaded with what it does, then how to call it, then how to handle the result — a sensible order with no filler. Slightly repetitive, since 'Never state New York law without it' and 'Do not add law from memory' express nearly the same rule.

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 and only two parameters, the description carries the full burden and does so: it explains inputs, both return shapes, and the pass-through obligation. Nothing an agent needs to invoke or relay results 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%, so both question and kind are already fully documented in the schema. The description only echoes the schema's 'as one clear sentence' phrasing and adds no new syntax, format, or constraint detail. 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 and resource ('Search New York court decisions and New York statutes') plus the output shape ('a short answer that cites only the sources found'). An agent immediately knows this is a grounded legal Q&A search rather than a citation checker like check_citations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use: 'Call it for every question about New York law' and 'Never state New York law without it.' The kind parameter guidance also gives an exclusion ('Use cases or statutes only when the visitor asks for one'), so both the default and the exception are covered.

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