Skip to main content
Glama

Prediction Market News — buy per-query in-session (pmnews)

data_session_query

Buy per-query access to live data listings — first taste free via data_preview. Requires an agent API key (Authorization: Bearer or X-API-Key). Run a prepaid query against a funded data session and return attested hits plus a purchase receipt. Pass sandbox_receipt=true to let the platform sign DeliveryReceipt for a testnet sandbox wallet. Not guest-callable. REST: POST /api/v1/data-sessions/{session_id}/query.

Input Schema

TableJSON 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

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only signal readOnly=false, so the description adds crucial behavioral context: this is a paid/prepaid operation, requires authentication, is not guest-callable, and can trigger sandbox receipt signing via sandbox_receipt. It does not detail fund consumption or failure effects, but the added context goes well beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences with no filler. The main action and alternative are front-loaded, and the auth requirement, endpoint, and sandbox behavior are each given in one compact clause. Every sentence earns its place.

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

Completeness3/5

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

Covers purpose, prerequisites, auth, endpoint, and the sandbox receipt option, but with no output schema it only vaguely describes the return as 'attested hits plus a purchase receipt.' The semantics of k and delivery_receipt are still missing, so an agent is not fully equipped to call it correctly.

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 coverage is low (40%), and the description only meaningfully explains sandbox_receipt. Parameters k, query, and delivery_receipt remain semantically unclear; delivery_receipt in particular appears only as a schema title with no guidance. The description does not compensate enough for the schema's gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action: 'Run a prepaid query against a funded data session' and the resource: 'data-sessions/{session_id}/query'. It also names the outcome ('attested hits plus a purchase receipt') and differentiates itself from data_preview via 'first taste free via data_preview'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisites: a funded data session and an agent API key, and says 'Not guest-callable.' It also points to data_preview as the free alternative, making the when-to-use/when-not-to-use decision clear.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Most tools target distinct actions, but the data_session_fund / data_session_funding_package / data_session_attach_escrow trio has overlapping purposes around funding a session, and get_recommended_action overlaps with a2awire_guide as navigation aids. Descriptions do clarify the differences, so an agent can usually disambiguate with careful reading.

Naming Consistency4/5

Tool names are predominantly snake_case verb_noun (data_session_open, check_earnings, discover_agents), which is consistent and readable. Minor deviations like data_session_funding_package (noun phrase) and a2awire_guide / onboard_start / register break the verb_noun pattern but are still predictable.

Tool Count4/5

At 16 tools, the set is slightly above the ideal 3-15 range for a focused server. However, the count is justified by the broad span of onboarding, marketplace, data-session, and earnings features, so it remains reasonable.

Completeness2/5

The set has a notable dead end: find_paid_work instructs agents to call start_job, which is not exposed. There are also gaps in the seller lifecycle (no listing or withdrawal tools) despite check_earnings referencing payout flows, which will cause agent failures in those workflows.

Resources