Skip to main content
Glama

Related regulations, votes and opinions

qv_related
Read-onlyIdempotent

Retrieve other laws, regulations, votes, and opinions that cite a given law ID, returning grouped results for follow-up reading.

Instructions

Documents related to a law: other laws, and regulations, votes and opinions that cite it (newest first).

Returns laws and others (id, title, date); read any with qv_law.

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": {
      "ids": "<ids>"
    },
    "name": "qv_related"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesId from qv_search, e.g. '12021850837713548188'.
limitNoMax per group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.1
    • changedInput schema / properties / ids / description
      Previous value: -"Law id (IDS) from qv_search, digits only, e.g. '12021850837713548188'."New value: +"Id from qv_search, e.g. '12021850837713548188'."
    • changedInput schema / properties / limit / description
      Previous value: -"Max related documents returned per group."New value: +"Max per group."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behavior, and the description adds value beyond them: results are ordered newest first and are grouped into 'laws' and 'others'. It omits pagination or truncation behavior, but the core behavioral context is present.

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 short sentences with the resource definition front-loaded, followed by the return shape and the next-step action. No wasted 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 carries the burden of explaining returns, and it does so concisely by naming the two groups and their fields. It could have explained what distinguishes 'other laws' from entries in 'others', but an agent can call it correctly as written.

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 both 'ids' and 'limit' are already well documented, including the 'Max per group' semantics. The description adds no further parameter meaning, so the 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?

States a specific resource and relationship: documents that cite a given law, split into 'laws' and 'others'. It does not explicitly differentiate from qv_amendments, which also concerns documents tied to a law, so the scope boundary is inferred 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?

Useful follow-up routing is given ('read any with qv_law'), and the ids source is documented in the schema. However, there is no guidance on when to choose this tool over qv_amendments or qv_article_history for law-related documents.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.