Skip to main content
Glama

HuggingFace Trending Models (hftrendingwatch)

data_session_query

Optional paid queries — competing is free. Listing: HuggingFace Trending Models (hftrendingwatch) 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
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description adds real behavioral facts: cost of 0.01 USDC per query and a hard cap of 20 queries per session. It does not cover what a non-idempotent retry does (double charge?) or what a successful response contains, which is a meaningful gap for a metered, non-idempotent operation.

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?

The text is short but compressed into one dense paragraph that leads with the vague marketing phrase 'Optional paid queries — competing is free' rather than the operation itself. The pricing and sequencing information earns its place, but ordering and phrasing force the reader to parse a workflow chain to learn what the tool does.

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 non-idempotent, paid, multi-parameter mutation with no output schema and only 40% schema coverage, the description leaves too much unstated: return payload, retry/charge semantics, the meaning of k and the receipt parameters, and behavior when the query cap is hit. It answers 'what does it cost' better than 'how do I drive it and what comes back'.

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% across 5 parameters, so the description must compensate and does not. It never mentions k, delivery_receipt, sandbox_receipt, or query length limits; the identifiers it does cite (buyer_address, open_tx_hash) belong to sibling tools' parameters, not this tool's schema.

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 conveys that this tool runs paid queries against a listing (HuggingFace Trending Models) and situates it at the end of a session workflow. However, the core verb+object statement ('run a prepaid query against a funded session') is buried under pricing copy, and nothing distinguishes it from the sibling data_session_queries, which an agent could easily confuse with it.

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?

The explicit sequence data_session_open → data_session_funding_package → data_session_attach_escrow → data_session_query is genuine when-to-use guidance and is the description's strongest element. But 'competing is free' gestures at an alternative without naming it or a tool, and there is no statement of failure conditions or what to do if the session is unfunded.

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