Skip to main content
Glama

New Hugging Face Spaces — AI App Demo Discovery (hfspaces)

data_session_query

Optional paid queries — competing is free. Listing: hfspaces: New Hugging Face Spaces — AI app demos & live web UIs 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/5.0
Behavior3/5

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

Beyond the annotations, the description adds genuinely useful behavior: a price (0.01 USDC per query) and a hard quota (max 20 queries/session), which an agent cannot get from readOnlyHint/destructiveHint/idempotentHint. However, it says nothing about what happens on an unfunded or exhausted session, what the response contains, or how the delivery_receipt / sandbox_receipt signing paths work — notable for a non-idempotent, money-spending call.

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, but poorly front-loaded: it opens with a pricing aside and a marketplace listing blurb before reaching the sequence that actually identifies the tool. The sequence is useful content; the listing/pricing fragment reads like pasted catalog text that could be trimmed.

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

Completeness2/5

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

For a 5-parameter, non-idempotent, cost-incurring tool with no output schema and 40% parameter coverage, the description is thin: it omits return values, failure modes (insufficient escrow, quota exhausted), and the two receipt-related parameters that govern how the delivery proof is signed. The prerequisite chain is the one piece of context that is complete.

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% of 5 parameters; k, query, and delivery_receipt have no schema descriptions. The description does not compensate at all — it never explains k, the query semantics, or the receipt parameters. The only adjacent hint is "max 20 queries/session," which does not map to any parameter (k is capped at 10).

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 "Optional paid queries" and situates the tool at the end of a sequence, so an agent can infer it runs a query, but the actual verb+resource ("run a prepaid query against a funded data session") only appears in the schema description, not the tool description. It also dilutes focus with a listing/pricing blurb ("hfspaces: New Hugging Face Spaces — AI app demos") that describes a catalog item rather than the operation.

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 prerequisite chain is spelled out explicitly: data_session_open → data_session_funding_package (self-sign from buyer_address) → data_session_attach_escrow (open_tx_hash) → data_session_query, which tells the agent exactly when this tool becomes callable. "Optional paid queries — competing is free" hints at the alternative of not paying, but no sibling (e.g. data_session_queries) is named as an alternative, and no explicit when-not guidance is given.

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