Skip to main content
Glama

RegLayer Instant Decision Briefs

Prepare a RegLayer brief purchase

prepare_instant_brief_request
Read-onlyIdempotent

Validate the scope and return the REST purchase shape. Payment occurs through HTTP 402 on the REST endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYesThe RegLayer Instant Brief product code.
jurisdictionsYesThe distinct regulatory geographies the Decision Brief should cover.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorYesA scope correction message, or null when the request is valid.
priceYesThe selected product, price, and geographic limits.
validYesWhether the selected product and jurisdictions form a valid purchasable scope.
noticeYesThe notice that must travel with RegLayer research outputs.
productYesThe RegLayer Instant Brief product code.
endpointYesThe REST endpoint to call to create and pay for the brief.
after_paymentYesWhat the agent must do after payment succeeds.
jurisdictionsYesThe normalized scope supplied for validation.
required_headersYesHTTP headers required by the purchase endpoint.
required_body_fieldsYesFields that must be present in the purchase request body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / product / description
      Previous value: -"The RegLayer Instant Decision Brief product code."New value: +"The RegLayer Instant Brief product code."
    • changedOutput schema / properties / price / properties / code / description
      Previous value: -"The RegLayer Instant Decision Brief product code."New value: +"The RegLayer Instant Brief product code."
    • changedOutput schema / properties / product / description
      Previous value: -"The RegLayer Instant Decision Brief product code."New value: +"The RegLayer Instant Brief product code."
  2. Changed9 schema fields changed
    • addedInput schema / properties / product / const
      Added value: +"instant_brief"
    • changedInput schema / properties / product / description
      Previous value: -"The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions."New value: +"The RegLayer Instant Decision Brief product code."
    • removedInput schema / properties / product / enum
      Removed value: -[
      -  "instant_one",
      -  "instant_three"
      -]
    • addedOutput schema / properties / price / properties / code / const
      Added value: +"instant_brief"
    • changedOutput schema / properties / price / properties / code / description
      Previous value: -"The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions."New value: +"The RegLayer Instant Decision Brief product code."
    • removedOutput schema / properties / price / properties / code / enum
      Removed value: -[
      -  "instant_one",
      -  "instant_three"
      -]
    • addedOutput schema / properties / product / const
      Added value: +"instant_brief"
    • changedOutput schema / properties / product / description
      Previous value: -"The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions."New value: +"The RegLayer Instant Decision Brief product code."
    • removedOutput schema / properties / product / enum
      Removed value: -[
      -  "instant_one",
      -  "instant_three"
      -]
  3. Changed4 schema fields changed
    • addedInput schema / properties / jurisdictions / description
      Added value: +"The distinct regulatory geographies the Decision Brief should cover."
    • addedInput schema / properties / jurisdictions / items / description
      Added value: +"A country, US state, or other regulatory geography to cover, written as a clear human-readable name."
    • addedInput schema / properties / product / description
      Added value: +"The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "after_payment": {
      +      "additionalProperties": false,
      +      "description": "What the agent must do after payment succeeds.",
      +      "properties": {
      +        "connection_required": {
      +          "description": "Whether the agent must keep the original request connection open while research runs.",
      +          "type": "boolean"
      +        },
      +        "instruction": {
      +          "description": "The complete asynchronous retrieval instructions for the agent.",
      +          "type": "string"
      +        },
      +        "poll_after_seconds": {
      +          "description": "How long the agent should wait between private status checks.",
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "connection_required",
      +        "poll_after_seconds",
      +        "instruction"
      +      ],
      +      "type": "object"
      +    },
      +    "endpoint": {
      +      "description": "The REST endpoint to call to create and pay for the brief.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "A scope correction message, or null when the request is valid."
      +    },
      +    "jurisdictions": {
      +      "description": "The normalized scope supplied for validation.",
      +      "items": {
      +        "description": "A country, US state, or other regulatory geography to cover, written as a clear human-readable name.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "notice": {
      +      "description": "The notice that must travel with RegLayer research outputs.",
      +      "type": "string"
      +    },
      +    "price": {
      +      "additionalProperties": false,
      +      "description": "The selected product, price, and geographic limits.",
      +      "properties": {
      +        "amount_cents": {
      +          "description": "The purchase price in the smallest currency unit, currently US cents.",
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "code": {
      +          "description": "The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions.",
      +          "enum": [
      +            "instant_one",
      +            "instant_three"
      +          ],
      +          "type": "string"
      +        },
      +        "currency": {
      +          "description": "The lowercase ISO 4217 currency code used for payment.",
      +          "type": "string"
      +        },
      +        "delivery": {
      +          "description": "How the finished brief is delivered and its normal completion window.",
      +          "type": "string"
      +        },
      +        "max_jurisdictions": {
      +          "description": "The maximum number of distinct jurisdictions accepted for this product.",
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        },
      +        "min_jurisdictions": {
      +          "description": "The minimum number of distinct jurisdictions accepted for this product.",
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "name": {
      +          "description": "The customer-facing name of the brief product.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "name",
      +        "amount_cents",
      +        "currency",
      +        "min_jurisdictions",
      +        "max_jurisdictions",
      +        "delivery"
      +      ],
      +      "type": "object"
      +    },
      +    "product": {
      +      "description": "The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions.",
      +      "enum": [
      +        "instant_one",
      +        "instant_three"
      +      ],
      +      "type": "string"
      +    },
      +    "required_body_fields": {
      +      "description": "Fields that must be present in the purchase request body.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "required_headers": {
      +      "additionalProperties": false,
      +      "description": "HTTP headers required by the purchase endpoint.",
      +      "properties": {
      +        "Content-Type": {
      +          "description": "The required request content type.",
      +          "type": "string"
      +        },
      +        "Idempotency-Key": {
      +          "description": "A unique stable value that makes purchase retries safe.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "Content-Type",
      +        "Idempotency-Key"
      +      ],
      +      "type": "object"
      +    },
      +    "valid": {
      +      "description": "Whether the selected product and jurisdictions form a valid purchasable scope.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "valid",
      +    "product",
      +    "jurisdictions",
      +    "price",
      +    "error",
      +    "endpoint",
      +    "required_headers",
      +    "required_body_fields",
      +    "after_payment",
      +    "notice"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the operation is known to be safe. The description adds context about payment occurring via HTTP 402 on the REST endpoint, which clarifies the flow without contradicting annotations. However, it doesn't elaborate on validation specifics or return structure.

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 concise sentences with no unnecessary words. Purpose is front-loaded, and the behavioral note about payment is placed effectively.

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?

Given the two parameters, output schema, and annotations, the description is adequate. It clearly states the action and a key behavioral aspect (payment via 402), though it could mention what validation entails or typical constraints.

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 provides full documentation for both parameters (product and jurisdictions) with descriptions, so the description doesn't need to add param details. Coverage is 100%, so baseline 3 is appropriate.

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?

Description clearly states it validates scope and returns a REST purchase shape, distinguishing it from sibling tools that fetch PDFs/results/status or list products. The title reinforces the purchase preparation purpose, though 'scope' could be more specific.

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?

No explicit guidance on when to use this vs alternatives. The description implies it's a preparatory step before a purchase, and mentions HTTP 402 on the REST endpoint, but doesn't explicitly state the usage flow or exclusions. Siblings are distinct, so usage is somewhat implied.

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