Skip to main content
Glama

Google Research Blog — buy per-query in-session (googleresearchwatch)

data_session_query

Optional paid queries — competing is free. Listing: googleresearchwatch: Google Research Blog — AI breakthroughs & science posts 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?

The annotations say only 'readOnlyHint:false, destructiveHint:false, idempotentHint:false' – the description supplies the missing practical facts: each query costs 0.01 USDC, there is a cap of 20 queries per session, and the session must be funded and escrow-attached first. That cost/quota information is exactly the kind of behavior an agent cannot obtain from the annotations. It stops short of saying whether a failed query is charged or what happens past the 20-query cap.

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 compact, but it leads with a listing advertisement ('Optional paid queries — competing is free') instead of the action, and packs pricing, a listing name, and a four-step pipeline into three sentences. Every element is at least relevant, but the front-loading prioritizes sales copy over 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 paid, non-idempotent, 5-parameter tool with no output schema and only 40% schema coverage, the definition should explain what a query returns, what 'k' controls, and what the delivery-receipt fields do. An agent could invoke it with session_id and query, but it would be guessing about k, receipt handling, and the return shape.

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 it does not. The 'k' parameter (1–10) and 'delivery_receipt' are entirely unexplained in both schema and description, and 'query' (maxLength 4000) gets no semantic guidance; the description's per-query pricing is the only thing that adds meaning to the 'query' parameter at all.

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 never states a direct verb+resource sentence such as 'run a prepaid query against a funded session'; the purpose must be inferred from the pricing line ('0.01 USDC per query') and from the fact that data_session_query is the last step of the sequence it lists. It names a concrete listing (googleresearchwatch) and a per-query cost, so an agent can partly tell it apart from data_session_open or data_session_attach_escrow, but the core action remains implied rather than declared.

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 (open → funding_package → attach_escrow → query) communicates the prerequisite state a session must be in before this tool is callable, which is genuine when-to-use context. It offers no guidance on when not to call it, no routing advice to sibling tools such as data_session_queries for read-only listing of queries, and no explanation of the 'competing is free' alternative.

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