Skip to main content
Glama

Sipiteno agent pre-checks (x402)

Sipiteno Package Guard

package_guard
Read-onlyIdempotent

Call before a coding agent installs an npm or PyPI package. Says whether the package exists (catches hallucinated names), its age, weekly downloads, deprecation, install scripts, OSV advisories including MAL- malware reports, and the nearest popular name it may be imitating. Returns install, review or block with reasons. $0.005 USDC on Base. Not charged if the registry cannot be reached. Paid tool: $0.005 USDC on Base via x402. Without payment it returns the x402 PaymentRequired (isError) - pay and retry with _meta["x402/payment"].

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

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name exactly as you would install it, e.g. express, @types/node, requests.
ecosystemYesnpm or pypi

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly/openWorld/idempotent) by disclosing cost, the x402 payment flow, the exact failure shape (PaymentRequired isError) and the retry mechanism via _meta["x402/payment"], plus the billing exception when the registry is unreachable. These are the details an agent needs to recover from a paid-tool failure, and they are consistent with readOnlyHint=true since the tool performs no mutation.

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 trigger and the returned signals, then the payment mechanics, which is the right order. It loses a point for repeating the price twice ("$0.005 USDC on Base" and again "Paid tool: $0.005 USDC on Base via x402"), which is redundant in an otherwise dense description.

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

Completeness5/5

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

For a paid, no-output-schema tool this is complete: it lists the data points returned, the three-way verdict, the cost, the payment handshake, the error shape, and the no-charge condition. An agent could call it and recover from a payment rejection using only this text.

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 coverage is 100% and both parameters are fully documented, including the enum and the "exactly as you would install it" guidance, so the schema does the heavy lifting. The description only indirectly adds meaning by saying it catches hallucinated names and imitated popular packages, which clarifies why the name must be verbatim but adds little syntactic detail.

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 ("Call before a coding agent installs an npm or PyPI package") and then enumerates exactly what it reports: existence, age, weekly downloads, deprecation, install scripts, OSV advisories including MAL- reports, and typosquat proximity. The decision vocabulary (install / review / block) makes the output contract unmistakable and clearly separates it from the sibling trust-check tools.

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?

Gives a precise trigger point (before an install) and the two ecosystems it covers, so an agent knows exactly when to reach for it. It does not name a when-not condition or an alternative path (e.g., what to do if the registry is unreachable besides not being charged), which keeps it below a 5.

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