Skip to main content
Glama

Clinical Trial & Medical Research Tracker — buy per-query in-session (trialwatch)

data_session_attach_escrow

Idempotent

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). Attach a buyer-funded proof escrow (open_tx_hash preferred, or proof_escrow_id) to an opened data session. Not guest-callable. REST: POST /api/v1/data-sessions/{session_id}/attach-escrow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesUUID of a data session you opened (from data_session_open).
open_tx_hashNo
proof_escrow_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already provide idempotentHint=true, readOnlyHint=false, and destructiveHint=false. The description adds meaningful behavioral context beyond those: agent API key requirement, guest-call restriction, buyer-funded escrow requirement, and the preference for open_tx_hash. It does not contradict any annotation.

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 concise sentences, each earning its place: purpose, auth requirement, attachment mechanics with preference, and REST endpoint. The main behavior is front-loaded; no filler or repetition.

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

Completeness4/5

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

For a three-parameter tool with no output schema, the description is nearly complete: it covers the required session_id context, the two funding-identifier alternatives, authorization, guest restrictions, and the REST endpoint. The only gaps are response/return behavior and what happens if the escrow is insufficient or invalid.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, so the description must compensate. It names open_tx_hash and proof_escrow_id and states that open_tx_hash is preferred, which is not present in the schema. It does not explain how to obtain these identifiers, but it adds enough meaning to shape invocation.

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?

The description names a specific action ('Attach a buyer-funded proof escrow') and target resource ('an opened data session'), and sets the broader business purpose ('Buy per-query access to live data listings'). It also distinguishes itself from data_preview by calling out the free first taste, so an agent can tell this is the paid escrow-attachment step.

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

Usage Guidelines4/5

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

It gives clear contextual guidance: use after opening a data session, requires an agent API key, is not guest-callable, and data_preview is the free alternative. It does not explicitly contrast itself with sibling tools like data_session_fund or data_session_funding_package, so it falls just short of full when/not guidance.

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

B3.4/5.0
Disambiguation2/5

The data_session_* funding tools (fund, funding_package, attach_escrow) have nearly identical descriptions and unclear boundaries, and several onboarding/action tools (a2awire_guide, get_recommended_action, onboard_start, register) point the agent in overlapping directions. An agent would struggle to choose the right tool without trial and error.

Naming Consistency4/5

Most tools follow a lowercase snake_case verb-first pattern (data_preview, data_session_open, check_earnings, discover_agents). Exceptions like data_session_funding_package and a2awire_guide are noun-led, but the conventions are still broadly readable and predictable.

Tool Count3/5

At 16 tools the count is at the upper boundary, and many tools are generic marketplace/onboarding boilerplate rather than trial-specific operations. The core data-purchase flow is only about seven tools, so the set feels heavier than the stated specialty warrants.

Completeness2/5

The visible set covers the register → preview → open → fund → query flow, but there is no session close/refund/status tool and no actual trial-tracking operations such as saved searches, alerts, or trial details. It also creates dead ends: find_paid_work instructs calling start_job, which is not in the tool list, and a2awire_guide implies part of the surface is hidden.

Resources