Skip to main content
Glama

Rust Crate Security Advisories — buy per-query in-session (rustsecwatch)

data_session_query

Optional paid queries — competing is free. Listing: rustsecwatch: RustSec Crate Security Advisories at 0.01 USDC per query (max 20 queries/session). Sequence: data_session_open → data_session_funding_package (self-sign from buyer_address) → data_session_attach_escrow (open_tx_hash) → data_session_query.

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": {
      "session_id": "<session_id>",
      "query": "<query>"
    },
    "name": "data_session_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
queryYes
session_idYesUUID of a data session you opened (from data_session_open).
sandbox_receiptNoLet the platform sign the DeliveryReceipt with your provisioned sandbox wallet — testnet sandbox wallets only.
delivery_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world call, so the safety profile is covered. The description usefully adds pricing (0.01 USDC per query) and a per-session quota (max 20), which are real behavioral facts not in annotations, but it says nothing about what happens on insufficient escrow, cap exhaustion, or error/failure modes for a tool that spends buyer funds.

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?

It is short and the sequence line is front-loaded and useful, but the opening clause ('Optional paid queries — competing is free') reads as marketing noise that muddles rather than clarifies, and the fragmentary telegraphic style makes the intent harder to parse than one plain sentence would.

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

Completeness3/5

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

For a 5-parameter, funds-consuming tool with no output schema and only 40% schema coverage, the description covers the money/ordering aspects but leaves parameter meaning and return behavior entirely unaddressed. It is adequate to route an agent into the correct sequence, not adequate to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%: session_id and sandbox_receipt are documented in the schema, but query, k, and delivery_receipt are not. The description does not compensate at all — it never mentions what a 'query' looks like, what k controls, or how delivery_receipt interacts with sandbox_receipt.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it runs queries against a data session and names one concrete listing (rustsecwatch advisories) with a price, which is tangible. But the opening phrase 'Optional paid queries — competing is free' is ambiguous about what the tool actually does, and the real purpose statement ('run a prepaid query against a funded session') only appears in the schema description, not here.

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 explicit prerequisite chain (data_session_open → data_session_funding_package → data_session_attach_escrow → data_session_query) tells the agent exactly which sibling steps must precede this call, which is strong guidance. It stops short of saying when NOT to use it or what to do once the 20-query cap is hit.

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