Skip to main content
Glama

package_used_by

Read-only

Used by - packages that need this one (GET /graph/{name}/used-by).

Use for: dependents, reverse dependencies, who uses X, who depends on X.
depth 1-4; node_cap 10-500; show_optional includes optional edges when true.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPyPI package name (PEP 503 normalize on the API).
depthNoGraph walk depth. Clamped to 1-4 (default 1).
node_capNoMax nodes in the graph response. Clamped to 10-500 (default 35).
show_optionalNoInclude optional (extras) edges when true (default true).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"Graph walk depth. Clamped to 1-4 (default 1)."
    • addedInput schema / properties / name / description
      Added value: +"PyPI package name (PEP 503 normalize on the API)."
    • addedInput schema / properties / node_cap / description
      Added value: +"Max nodes in the graph response. Clamped to 10-500 (default 35)."
    • addedInput schema / properties / show_optional / description
      Added value: +"Include optional (extras) edges when true (default true)."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare read-only and open-world behavior, so the description adds useful context about the graph endpoint, depth limits, node cap, and optional edges. It does not add auth, rate-limit, or failure behavior, so it is helpful but not rich beyond the structured fields.

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 front-loaded with the core meaning, then gives usage synonyms and compact parameter constraints. Every line earns its place, with no unnecessary wording.

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 low-complexity graph query with full schema coverage, annotations, and an output schema, the description covers purpose, usage, and key parameter limits. The only minor gap is that it does not explicitly distinguish the tool from its reverse sibling.

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 100%, so the schema already documents every parameter, including the depth and node_cap clamps and the show_optional meaning. The description repeats those same ranges rather than adding new semantics beyond the schema.

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 states a specific concept: packages that depend on the named package, with reverse-dependency synonyms. It is clear what the tool returns, but it does not explicitly differentiate itself from the sibling `package_depends_on`, leaving the agent to infer the opposite relationship.

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?

The 'Use for' line gives clear usage contexts: dependents, reverse dependencies, who uses X, who depends on X. It does not state when not to use it or name the alternative tool, so it falls short of fully explicit routing guidance.

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.