Skip to main content
Glama

traverse_relationships

Traverse bounded, typed economic relationships from a resolved entity without treating missing edges as false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOptional entity-type constraint.
depthNoHops to expand outward from entity; default 1. Above 1 adds an expansion block of nodes and edges annotated with the hop that reached them, so a containment chain such as municipality -> census-division -> economic-region can be fetched in one call instead of three. Requires entity.
limitNoMaximum facts, relationships, or listed entities; default 25.
bundleNoBounded metric preset. municipal-economic-profile-v1 requires one municipality entity.
entityNoExact name, slug, graph id, NOC code, SGC code, source id, or provider id.
metricsNoFact metrics, e.g. population.
maxNodesNoCeiling on entities across the whole expansion; default 200. Distinct from limit, which bounds one level — without it a depth of 2 from a municipality would pull every business in it.
geographyNoOptional exact municipality name, slug, or SGC code for geography-scoped facts.
predicatesNoRelationship predicates, e.g. classified_as or serves.
truthStatesNo
minimumConfidenceNo
referencePeriodEndNoInclusive ISO-8601 upper bound for fact reference periods.
referencePeriodStartNoInclusive ISO-8601 lower bound for fact reference periods.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "occupation",
      -  "municipality",
      -  "geography",
      -  "sector",
      -  "training-program",
      -  "noc-unit-group",
      -  "data-source",
      -  "data-provider",
      -  "economic-region",
      -  "census-division",
      -  "trade-region",
      -  "naics-industry",
      -  "industrial-facility",
      -  "open-source-signal",
      -  "organization",
      -  "project",
      -  "procurement-notice",
      -  "product-or-service",
      -  "job-posting",
      -  "employer",
      -  "business"
      -]New value: +[
      +  "occupation",
      +  "municipality",
      +  "geography",
      +  "sector",
      +  "training-program",
      +  "noc-unit-group",
      +  "data-source",
      +  "data-provider",
      +  "economic-region",
      +  "census-division",
      +  "trade-region",
      +  "naics-industry",
      +  "industrial-facility",
      +  "open-source-signal",
      +  "organization",
      +  "project",
      +  "procurement-notice",
      +  "product-or-service",
      +  "job-posting",
      +  "employer",
      +  "business-source-observation",
      +  "establishment",
      +  "business"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "occupation",
      -  "municipality",
      -  "sector",
      -  "training-program",
      -  "noc-unit-group",
      -  "data-source",
      -  "data-provider",
      -  "economic-region",
      -  "census-division",
      -  "trade-region",
      -  "naics-industry",
      -  "industrial-facility",
      -  "open-source-signal",
      -  "organization",
      -  "project",
      -  "procurement-notice",
      -  "job-posting",
      -  "employer",
      -  "business"
      -]New value: +[
      +  "occupation",
      +  "municipality",
      +  "geography",
      +  "sector",
      +  "training-program",
      +  "noc-unit-group",
      +  "data-source",
      +  "data-provider",
      +  "economic-region",
      +  "census-division",
      +  "trade-region",
      +  "naics-industry",
      +  "industrial-facility",
      +  "open-source-signal",
      +  "organization",
      +  "project",
      +  "procurement-notice",
      +  "product-or-service",
      +  "job-posting",
      +  "employer",
      +  "business"
      +]
  3. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds one valuable nuance: 'without treating missing edges as false,' which distinguishes absent data from negative facts. However, it fails to disclose basic behaviors such as whether the operation is read-only, what the return structure looks like (nodes, edges, facts), or what happens if the entity is not resolvable. The 'bounded' qualifier implies limits but doesn't explain the effect of depth on response shape.

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?

The description is a single sentence with no filler, front-loading the core action. It is concise and each word contributes meaning. However, it is so terse that it borders on under-specification for a complex tool with 13 parameters, making it slightly less effective than a slightly expanded version that could clarified the return format and prerequisites.

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

Completeness2/5

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

For a complex traversal tool with no output schema and no annotations, this description is incomplete. It does not explain what the response contains (e.g., nodes, edges, facts, expansion blocks), how depth affects the output, or error behavior when entity is missing or unresolved. The prerequisite that an entity is required is only buried in the schema's depth description, not the main description. The description leaves too much unsaid for an agent to invoke it confidently on complex tasks.

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 description coverage is high (85%), so the baseline is 3. The description adds minimal semantic value beyond the schema—it references 'bounded' and 'typed' which map to depth/limit/type, and 'missing edges' relates to truthStates, but it does not elaborate on individual parameters. The schema itself already documents most parameters well, so the description doesn't need to compensate significantly.

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?

The description clearly states the core action: 'Traverse bounded, typed economic relationships from a resolved entity.' It specifies a verb ('traverse'), a resource ('economic relationships'), and key qualifiers ('bounded', 'typed') that hint at the depth/limit/type parameters. It distinguishes itself from general search tools like search_entities or query_knowledge_graph by focusing on relationship traversal from a single resolved entity, though it does not explicitly name an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit guidance on when to use this tool versus sibling tools like find_connected_entities or resolve_entities. The phrase 'from a resolved entity' implies a prerequisite (use resolve_entity first), but it is not stated explicitly. There is no mention of when this tool is preferred over a general graph query or other traversal-like tools.

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.

TDQS

B3.1/5.0
Disambiguation1/5

Several tools are effectively duplicates or near-duplicates: get_emerging_signals is an explicit alias for list_economic_signals, resolve_entity and resolve_entities overlap heavily, and the markdown variants duplicate their non-markdown reports. Pairs like compare_communities/compare_municipalities and search_businesses/search_licensed_businesses also require reading long contracts to avoid misselection.

Naming Consistency4/5

Tool names overwhelmingly follow a snake_case verb_noun pattern with sensible verbs like get_, list_, search_, and compare_. The main deviations are the backwards-compatible get_emerging_signals alias and prefix choices such as check_business_health vs get_business_health that obscure the underlying distinction.

Tool Count1/5

70 tools is an extreme surface for any MCP server, far beyond the 25+ 'too many' threshold. The set is fragmented by format variants, aliases, and multiple overlapping lookup tools, making selection and maintenance costly.

Completeness3/5

The domain surface is broad: entity resolution, business health, labour, community economy, procurement, and governance evidence are all covered in depth. However, there are notable lifecycle gaps—no sandbox deletion, consent revocation, health-action cancellation, or actual exchange/connect/apply step—that leave agents with dead ends.

Resources