Skip to main content
Glama

pdq_get_package

Fetches detailed package information by ID from PDQ Connect, including recent versions, so you can review package records before deployment.

Instructions

Get detailed information about a specific package by its ID from PDQ Connect, including recent package versions.

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

Input Schema

NameRequiredDescriptionDefault
package_idYesThe unique ID of the package to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 'Get' correctly signals a read-only operation and it notes the payload includes recent package versions, but it says nothing about permissions, behavior on an unknown ID, or how many versions are returned.

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?

One sentence, front-loaded with the verb and resource, and the scope detail ('including recent package versions') follows immediately. There is no filler or 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?

For a simple single-parameter read tool with no output schema, the definition is nearly sufficient: it names the source, the lookup key, and what the result contains. Only the absence of error behavior and version-count limits keeps it short of complete.

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 a single required parameter and 100% schema description coverage, the schema already fully documents package_id. The description's 'by its ID' is mildly redundant but reinforces that the argument is an identifier rather than a name, giving a small amount of extra meaning.

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?

States a specific verb ('Get') and resource ('detailed information about a specific package by its ID') with the source system named (PDQ Connect). It implicitly differentiates from pdq_list_packages by emphasizing lookup by ID, though it never names the sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: use this when you already have a package_id and need full details. There is no explicit when-to-use, when-not-to-use, or reference to pdq_list_packages as the way to discover IDs, so an agent must infer the alternative path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.