Skip to main content
Glama

ask_authority

Query a published authority on the NOMOS Exchange marketplace — a different system from verify_decision's own sealed policies. Every public authority (e.g. eu-ai-act.nomos) is queryable with no key. Returns the authority's own verdict (AUTHORIZED/DENIED/ESCALATED), the exact rule and reason, and a permanent, cryptographically-bound transcript (query_id + url) — replayable evidence, not just a reply. Nothing is invented or paraphrased: the verdict is the authority's sealed rules evaluated against your inputs. The default response is a short, curated summary (verdict, matched rule, source citation when the artifact has one, transparency/completeness disclosures, transcript link) — not the full rule-by-rule evaluation trace. Set include_evaluation_trace: true to get that complete diagnostic record when you or the user actually need it.

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": {
      "authority": "<authority>",
      "inputs": "<inputs>"
    },
    "name": "ask_authority"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoOptional label for what this query represents, for the caller's own transcript record (e.g. "pre-deployment check"). Purely descriptive — does not affect the verdict.
inputsYesKey/value facts to evaluate against the authority's rules (e.g. {"untargeted_facial_image_scraping": true}). Fields must match the authority's vocabulary — see the atlas endpoint or the artifact's catalog page.
purposeNoSet "test" for test or evaluation queries: they are answered and sealed, but kept out of the authority's public history and counts. Defaults to production.
acts_forNoOptional organisation the agent acts for. Recorded as declared; when an Exchange key is used, the key's account is recorded instead.
agent_idNoOptional stable name for the agent asking (e.g. "acme-credit-agent"). Recorded on the transcript and shown in the authority's public history as who relies on it.
authorityYesThe Exchange artifact's standard name — its short slug, optionally ".nomos"-suffixed (e.g. "eu-ai-act" or "eu-ai-act.nomos"), or its raw artifact ID. Browse the catalog at https://www.nomosprotocol.com/exchange.
exchange_api_keyNoExchange API key (nxk_...). Optional for free/public queries. Required only for metered access to licensed (paid) authorities beyond their free allotment.
include_evaluation_traceNoSet true to receive the full rule-by-rule evaluation trace (every rule checked, every missing field) instead of the default curated summary. Most callers never need this.

Output Schema

NameRequiredDescriptionDefault
urlNoPath to the permanent, shareable transcript for this query
verdictNoThe authority's own verdict
query_idNoPermanent transcript ID — reopen any time at the returned url
expected_fieldsNoPresent only when ESCALATED for lack of data — the fields this authority still needs
matched_rule_idNoID of the rule that determined the verdict — null when AUTHORIZED with no matching rule
response_sourceNoProvenance label — this is a sealed NOMOS verdict, not Claude's own reasoning. Preserve or restate this distinction when relaying the answer.
rules_evaluatedNoOnly present when include_evaluation_trace was true
source_referenceNoCitation for the matched rule, when the source document's structure was captured at extraction time. Names where the rule TEXT was extracted from (e.g. "Article 5"), not a legal claim about what it covers. Null if unavailable.
matched_rule_nameNoHuman-readable name/description of the matched rule — use this for display, not matched_rule_id
verdict_descriptionNoHuman-readable reason — the exact rule and its consequence
rules_evaluated_countNoTotal rules checked during evaluation — the size of the full trace, whether or not it was returned
open_higher_priority_countNo0 means every relevant fact was known when this was sealed; >0 means facts were still missing above the matched rule
open_higher_priority_rulesNoThe actual rules behind open_higher_priority_count (capped to 20) — use this to answer "which ones?" instead of guessing. Each has the rule name, what it would do if it matched, and exactly which input fields are missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / inputs / description
      Previous value: -"Key/value facts to evaluate against the authority's rules (e.g. {\"ai_categorises_biometric_data_for_sensitive_attributes\": true}). Fields must match the authority's vocabulary — see the atlas endpoint or the artifact's catalog page."New value: +"Key/value facts to evaluate against the authority's rules (e.g. {\"untargeted_facial_image_scraping\": true}). Fields must match the authority's vocabulary — see the atlas endpoint or the artifact's catalog page."
  2. Changed3 schema fields changed
    • addedInput schema / properties / acts_for
      Added value: +{
      +  "description": "Optional organisation the agent acts for. Recorded as declared; when an Exchange key is used, the key's account is recorded instead.",
      +  "type": "string"
      +}
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "description": "Optional stable name for the agent asking (e.g. \"acme-credit-agent\"). Recorded on the transcript and shown in the authority's public history as who relies on it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / purpose
      Added value: +{
      +  "description": "Set \"test\" for test or evaluation queries: they are answered and sealed, but kept out of the authority's public history and counts. Defaults to production.",
      +  "enum": [
      +    "production",
      +    "test"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the call seals a permanent, cryptographically-bound transcript (query_id + url), results are the authority's sealed rules rather than paraphrased output, and public queries are free while licensed authorities are metered. This is consistent with readOnlyHint=false — the tool creates a durable record rather than being a pure read. It also discloses the default response shape versus the full trace, which the annotations say nothing about.

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-loads the core action and the sibling differentiation, then layers cost, evidence permanence, and response-mode guidance in a logical order. A few clauses are rhetorically redundant ("replayable evidence, not just a reply"; "Nothing is invented or paraphrased"), but each paragraph carries distinct information.

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?

For an 8-parameter, nested-object tool with an output schema, the description covers everything an agent needs before calling: what it queries, what auth is required, what the default and verbose responses contain, and that the result is a permanent artifact. Return-value details are correctly left to the output schema.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning for include_evaluation_trace — explaining exactly what the default curated summary contains versus the full rule-by-rule diagnostic record. It does not elaborate on the purpose/acts_for/agent_id recording semantics that the schema already documents.

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 ("Query a published authority on the NOMOS Exchange marketplace") and immediately distinguishes it from the sibling verify_decision's own sealed policies. An agent can tell which system is being consulted and what comes back (verdict, rule, reason, transcript) without opening the schema.

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 clear conditions: public authorities need no key, an Exchange key is only for metered/paid authority access, and include_evaluation_trace should be set only "when you or the user actually need it." It also explicitly routes away from verify_decision. It does not name when to prefer find_authority or ask_by_context, so it stops short of full alternative coverage.

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