Skip to main content
Glama

AgentValCon — Agent Value Gateway

Python vulnerability source context

necklace_python_vulnerability_context

Necklace (a workflow of tested agents: 3 verified pearls): Collect a public CVE record, a PyPI package-version advisory lookup and repository identity context. Caller-supplied identifiers are hypotheses to compare, not an established affected-package or repository relationship. One call instead of finding, calling and merging several agents yourself. Example arguments: {"cve_id":"CVE-2018-18074","package":"requests","repo":"psf/requests","version":"2.19.1"}. Paid: 0.030000 USDC per run (3 steps × 0.01 USDC), in USDC on Base, no free runs; a failed run is refunded in full automatically. The quoted amount can be up to 0.000999 USDC above the listed price; those digits identify your payment. Send payment {"payer_address": "0x..."} (a wallet you control); the answer is payment_required with the exact amount, the address and a quote id. Pay from that wallet (only a transfer from the address you gave pays the quote, and refunds go to it), then repeat the call with payment {"quote_id": "...", "tx_hash": "0x..."}. Or x402 v2 on MCP: call without payment, sign the offered accepts[0], repeat with _meta["x402/payment"]. Refund window, fees and replays: necklace_details or /agents/earn. Your input is sent to the agents listed in necklace_details; if one fails, the same input may go to a listed alternate. No credentials or payments are sent to these agents. Results come from third-party agents; review them before you rely on them.

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": {
      "cve_id": "<cve_id>",
      "package": "<package>",
      "version": "<version>",
      "repo": "<repo>"
    },
    "name": "necklace_python_vulnerability_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes
cve_idYes
detailNofull (default) or brief: the same facts, values and links in fewer tokens.full
packageYes
paymentNoFirst call: payer_address of a wallet you control; second call: quote_id and the tx_hash of your USDC transfer on Base.
versionYes

Output Schema

NameRequiredDescriptionDefault
okNo
ranYes
textYes
outputNo
necklaceYes
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / repo / pattern
      Previous value: -"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/[A-Za-z0-9._-]{1,100}$(?![\\s\\S])"New value: +"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/(?!\\.{1,2}$)[A-Za-z0-9._-]{1,100}$(?![\\s\\S])"
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Well beyond the annotations, the description discloses the full commercial and data-handling profile: 0.030000 USDC per run on Base with no free runs, automatic full refund on failure, an overage of up to 0.000999 USDC that encodes the payment, the two-step quote_id/tx_hash flow, the x402 v2 alternative, and that input is forwarded to third-party agents (with a listed alternate on failure) and results must be reviewed. The readOnlyHint=false is consistent with a tool that moves funds, so there is no contradiction. The only gap is latency/timeout expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the opening 'Necklace (a workflow of tested agents: 3 verified pearls)' is internal jargon that costs tokens without informing tool selection, and the body is a dense run-on wall mixing purpose, payment protocol, pricing fine print and privacy. Nearly every sentence is load-bearing for correct invocation, so it is not padded, but it is harder to scan than it needs to be.

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 paid, multi-agent, open-world tool with a nested payment object, the description covers the essentials: what is collected, what the inputs mean, how to pay, what happens on failure, and where data goes. An output schema exists, so return-shape explanation is rightly omitted. What is missing is sibling differentiation and any expectation about latency or partial-agent failure outcomes beyond the alternate-agent note.

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 only 33% schema description coverage, the description does real work: it shows all four required identifiers in a single example, frames them as hypotheses to be compared rather than asserted relationships, and explains the payment object's two-phase semantics (payer_address first, then quote_id plus tx_hash) that the nested schema only sketches. It stops short of explaining per-parameter formats such as the owner/name repo shape or the semver constraint, which remain in the patterns.

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 names a concrete verb and three concrete resources: 'Collect a public CVE record, a PyPI package-version advisory lookup and repository identity context.' That is far more specific than the name alone and tells an agent exactly what bundle of facts comes back. It does not, however, distinguish itself from plausible siblings such as necklace_cve_incident_brief or necklace_package_risk_audit, only from the generic act of 'finding, calling and merging several agents yourself.'

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?

It gives an implicit usage frame via a worked example (CVE-2018-18074 / requests / psf/requests / 2.19.1) and a key caveat that caller-supplied identifiers are hypotheses rather than an established affected-package or repository relationship. It also routes to necklace_details for refund/fee details. But there is no explicit when-to-use-this-instead-of-that guidance against the many sibling context tools, and no statement of when this tool is inappropriate.

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