Skip to main content
Glama

Apple ML Research Feed — buy per-query in-session (applemlwatch)

data_session_query

Optional paid queries — competing is free. Listing: Apple Machine Learning Research Blog Feed 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?

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower, and the description still adds real economics: a per-query price of 0.01 USDC and a hard cap of 20 queries per session. That cost/rate-limit disclosure is exactly the kind of context an agent needs before invoking a metered operation. It stops short of saying what happens on insufficient funds or over-cap rejection.

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 a single compact block with no filler sentences, and the price/limit information is front-loaded. But the prioritization is off: marketing-style listing details and the arrow sequence consume the whole description while the tool's own operation is never stated, so the text is short yet misallocated rather than tight.

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?

This is a metered, non-idempotent operation with five parameters and no output schema, so the description carries more weight than it does here. It covers cost, session cap, and prerequisites, but says nothing about what a successful query returns, error behavior on an unfunded or expired session, or the meaning of undocumented parameters. An agent could sequence the calls correctly yet still not know what it gets 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%, so the description is expected to compensate, and it does not. The parentheticals 'self-sign from buyer_address' and '(open_tx_hash)' describe parameters of the sibling funding tools, not this tool's five inputs. Nothing here explains what 'k' controls (evidently a top-k result count, capped at 10), what 'delivery_receipt' is for, or how it relates to '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 never states plainly what this tool does; the reader must infer from the closing arrow that it is the final 'query' step of a payment sequence. The pricing line ('0.01 USDC per query') and 'max 20 queries/session' imply the operation, but the actual verb+resource statement lives only in the input-schema text, not the tool description. It is distinguishable from siblings mainly by position in the sequence rather than by an explicit statement of scope.

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 four-step sequence (open → funding_package → attach_escrow → query) is genuinely useful prerequisite guidance that tells an agent this call fails unless the session is opened, funded, and escrow-attached. However, there is no guidance on when to choose this over sibling read tools like data_session_queries or data_preview, and no statement of what conditions make the paid query worth issuing versus the free competing path that is only hinted at.

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