Skip to main content
Glama

Get a scoped regulatory horizon

get_regulatory_horizon
Read-onlyIdempotent

Return deterministic, cited dates for regulations that may apply to declared product features and markets, including proposed regulations. Optional topics narrow the timeline. Feature links come from the engine. Legal information, not a determination of applicability. Call list_feature_catalog for valid feature and market ids; topics are listed in https://magist.io/data/domains.json.

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": {
      "features": "<features>",
      "markets": "<markets>"
    },
    "name": "get_regulatory_horizon"
  }
}

Input Schema

NameRequiredDescriptionDefault
agesNo
asOfNoYYYY-MM-DD; defaults to today in UTC.
topicsNo
groupByNojurisdiction
marketsYes
featuresYes
windowDaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the bar is lower, and the description still adds meaningful traits: results are deterministic and cited, proposed regulations are included, and feature links originate from the engine. It stops short of describing result ordering or what happens when nothing matches in the window.

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 the core purpose in the first sentence, then prerequisites, then the legal disclaimer. Every sentence carries information, though 'Feature links come from the engine' is terse to the point of being cryptic about the response shape.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and seven parameters at 14% schema coverage, the description should do more: it hints at the response (cited dates, engine-supplied feature links) but leaves grouping, time-window, and age-scope behavior unexplained. Adequate as an introduction, not sufficient to call the tool confidently without reading the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14% (just asOf), so the description must carry the load, and it only partially does: it explains that topics narrow the timeline and that features/markets must come from the catalog. The ages, groupBy, windowDays, and asOf defaults/behavior are never explained in the description, leaving several parameters undocumented in both places.

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 concrete verb and resource: it returns dated, cited regulatory obligations scoped to declared features and markets, and notes proposed regulations are included. It is distinguishable from lookup_regulation/search_regulations by its forward-looking 'horizon' framing, though it never names a sibling to sharpen that contrast.

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 real prerequisites: call list_feature_catalog for valid feature and market ids, and topics come from an external domains.json. It also sets expectations with 'Legal information, not a determination of applicability,' implying a different tool for applicability decisions, but it does not explicitly name that alternative or state exclusions.

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.