Skip to main content
Glama

Find dependents

find_dependents
Read-only

Find every service that depends on a given service, synchronously (with the endpoints they call, when recorded) or through events, from saved versions. Call before changing or removing an endpoint or the service itself, and report the affected services and teams to the user. For a change to one specific event, use find_event_consumers instead: it also finds consumers that don't name this service. Services in the unsaved list could not be checked.

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": {
      "service_id": "<service_id>"
    },
    "name": "find_dependents"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_idYesThe service's catalog ID, from the repo's **Catalog ID:** line or from list_services.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / service_id / description
      Previous value: -"The service's catalog ID."New value: +"The service's catalog ID, from the repo's **Catalog ID:** line or from list_services."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower, and the description still adds non-obvious coverage semantics: results come "from saved versions" only, endpoints appear "when recorded," and "Services in the unsaved list could not be checked." That last sentence flags a real completeness limitation an agent must not overlook; it is terse but materially useful.

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 purpose, then the usage trigger, then the alternative, then the caveat — a sensible priority order with no filler. It is dense and slightly clause-heavy in the opening sentence, and the caveat about unsaved services reads as an afterthought rather than being integrated, but nothing is redundant.

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?

For a single-parameter read-only tool with no output schema, the description covers purpose, trigger, alternative, and result content sufficiently (it implies affected services and teams are returned). The only mild gap is that the shape of the returned dependency data (endpoint-level vs event-level records) is not spelled out, which matters slightly given there is no output schema.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains service_id and where to get it (Catalog ID line or list_services). The description says "a given service" but adds no syntax, format, or lookup guidance beyond the schema, so the baseline of 3 applies.

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 ("find every service that depends on a given service") and immediately qualifies the two dependency kinds covered: synchronous endpoints and events. It also names the sibling it is not (find_event_consumers), so an agent can distinguish the two without opening either schema.

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?

Gives an explicit trigger ("Call before changing or removing an endpoint or the service itself"), an explicit alternative plus the condition that selects it ("For a change to one specific event, use find_event_consumers instead"), and even states what to do with the results ("report the affected services and teams to the user").

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