Skip to main content
Glama

GitHub Platform Changelog — buy per-query in-session (githubchangelog)

data_session_query

Optional paid queries — competing is free. Listing: githubchangelog: GitHub Platform Changelog — Copilot, Actions & Security Changes 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 only say it is non-readonly, non-destructive, non-idempotent and closed-world; the description adds genuinely useful context beyond that: it costs 0.01 USDC per query, is capped at 20 queries per session, and requires a funded session with escrow attached. It still does not explain what happens on query failure or how the delivery receipt flow works, which matters for a paid 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?

The description is short but front-loads ambiguous marketing copy ('Optional paid queries — competing is free') and an unrelated-looking listing blurb with a price tag before getting to the actionable sequence. The sequence line earns its place; the listing copy is noise for tool selection.

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 paid, non-idempotent call with 5 parameters, 40% schema coverage and no output schema, so the description carries a heavy burden. It covers pricing and workflow position but leaves the query payload semantics, the receipt parameters, and failure/refund behavior undocumented.

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, and the description adds nothing about k, delivery_receipt, or the receipt/sandbox signing behavior. The only parameter-adjacent information is the per-session query cap, which is not tied to any field.

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 gives a price and session cap, so an agent can infer this is the query step of a paid data session, but it never states what a query actually does (ask a question of the dataset, retrieve rows, etc.). The sibling-differentiation is weak — it names the preceding setup tools in the sequence rather than contrasting itself with data_session_queries or data_session_get.

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 'Sequence:' line gives real ordering guidance (open → funding_package → attach_escrow → query) and the max-20-queries/session cap implies a budget constraint. However, 'Optional paid queries — competing is free' is unclear about what the free alternative is, and there is no explicit when-not-to-use or mention of siblings like data_session_queries.

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