Skip to main content
Glama

register_standing_query

Travel Product B — register a standing disruption query: continuous real-time monitoring of geo_ids for disruption_types (subset of: strike, weather, closure, unrest, health, infrastructure, safety). expires_at is an optional future ISO-8601 timestamp with timezone. Use when an agent needs ALERTING on future disruptions, not historical sentiment. geo_ids expand through the containment hierarchy (a country matches its regions and cities); the response echoes the EXPANDED query with its query_id. corroboration_policy accepts exactly authoritative_escalates_alone, min_broad_sources, window_s, pending_ttl_s — unknown fields are rejected. Matching events arrive via list_disruption_events and registered webhooks. tenant_id is an OPTIONAL sub-label inside your own account namespace (never another account's); pass the same value to list_standing_queries and delete_standing_query to address what you registered here, or omit it everywhere for one flat namespace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geo_idsYes
tenant_idNo
expires_atNo
lang_scopeNo
min_severityNo
disruption_typesYes
corroboration_policyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description discloses substantial behavior beyond the annotations: geo_ids expand through the containment hierarchy, the response echoes the EXPANDED query with query_id, corroboration_policy strictly rejects unknown fields, and tenant_id is a namespacing sub-label restricted to the caller's own account. These are non-obvious behavioral details an agent needs to predict results correctly.

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?

The description is dense but every sentence carries operational value: purpose, when-to-use, expansion behavior, response shape, validation strictness, event delivery, and tenant scoping. It is front-loaded with the core purpose and then layers constraints in a logical order without repetition.

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?

The description is strong overall: it covers return behavior via query_id, how matching events are delivered, and how to address the query later. The only completeness gap is that two optional parameters, lang_scope and min_severity, are left undocumented despite zero schema descriptions and no output schema to clarify their role.

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?

With 0% schema description coverage, the description compensates well by explaining geo_ids expansion, accepted disruption_types, expires_at format, exact corroboration_policy values, and tenant_id semantics. However, lang_scope and min_severity are not explained at all, leaving two optional parameters to be inferred from their names alone.

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?

The description opens with a specific verb and resource: register a standing disruption query for continuous real-time monitoring of geo_ids and disruption_types. It clearly distinguishes this from historical sentiment tools by saying it is for ALERTING on future disruptions, not historical sentiment, and lists the exact accepted disruption types.

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?

It explicitly states when to use the tool: when an agent needs alerting on future disruptions, not historical sentiment. It also explains how the registered query connects to list_disruption_events and registered webhooks, and how tenant_id ties it to list_standing_queries and delete_standing_query, giving clear operational routing.

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