Skip to main content
Glama

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

get_agent_contract

Read-onlyIdempotent

✅ No API key needed — call this now. Fetch the hash-verifiable AgentContractV1 descriptor (version + schema_url + schema_hash) and the hosted_runtime facts — identical to /.well-known/agent.json. Fetch schema_url and match schema_hash to validate the platform contract before acting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
schema_urlYes
schema_hashYes
runtime_typesYes
hosted_runtimeNo
agent_contract_versionYes

Schema Changelog

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

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The readOnlyHint, idempotentHint, and destructiveHint=false annotations already establish the safety profile. The description adds meaningful behavior beyond annotations: it clarifies that no API key is required, that the result is hash-verifiable, and that it is identical to /.well-known/agent.json. The only small omission is not explicitly describing the return envelope, but the rich annotations plus the explicit equivalence offset that.

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

Conciseness4/5

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

The description is two sentences and wastes little space, leading with the most actionable fact ('No API key needed — call this now'). The second sentence bundles the descriptor contents and the hash-validation instruction. It could be slightly tighter by trimming the repetition of schema_url, but it is well front-loaded and compact.

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?

The tool has no parameters, a rich annotation set, and an output schema, so the description's main job is to explain the contract resource and the validation step, which it does. It explains the purpose, the runtime facts, the file equivalence, and the validation workflow. An agent can invoke it correctly without further lookup; only a minor detail about the exact shape of the output remains, but the output schema covers that.

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?

The input schema has zero parameters and 100% schema description coverage, so the schema already explains everything about arguments. The description adds a useful behavioral note ('owner derived from authenticated principal') that compensates for the empty schema. With no parameters to document, this is effectively a strong pass.

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 clearly states a specific verb ('fetch'), a specific resource ('AgentContractV1 descriptor'), and enumerates the exact contents (version, schema_url, schema_hash, hosted_runtime facts). It distinguishes itself by equating the response to /.well-known/agent.json, so an agent knows exactly what it is getting and can separate it from sibling tools.

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?

The description explicitly says 'No API key needed — call this now' and instructs to fetch schema_url and match schema_hash before acting. This gives both an immediate when-to-use signal and a concrete validation workflow, which is strong usage guidance for a contract-checking tool.

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