Skip to main content
Glama

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

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

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, and non-destructive behavior. The description adds meaningful behavioral context beyond annotations: no API key is required, the descriptor is hash-verifiable, and the fetched data is identical to /.well-known/agent.json. No contradictions with annotations.

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 compact, front-loaded with the immediate call directive, and each sentence provides distinct information. There is slight redundancy between listing schema_url/schema_hash earlier and repeating the fetch in the final sentence, so it is not perfectly lean.

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

Completeness5/5

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

Given the absence of parameters, the presence of an output schema, and annotations covering the safety profile, the description supplies all necessary context for an agent to call the tool correctly: what it returns, where it matches a well-known file, and when to call it. No critical information is missing.

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 tool takes zero parameters, and the schema already explains that the owner is derived from the authenticated principal. Per the baseline for zero-parameter tools, the description does not need to add more; nothing is missing.

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

Purpose4/5

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

The description clearly identifies the resource being fetched: the AgentContractV1 descriptor with version, schema_url, and schema_hash, plus hosted_runtime facts. It is specific and references the well-known /.well-known/agent.json, but it does not explicitly differentiate this tool from nearby siblings like verify_contract or discover_agents, which keeps it from a 5.

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?

The description gives an explicit when-to-use direction: 'call this now' and 'before acting', indicating this is a preliminary step that requires no API key. However, it does not mention when not to use it or direct users to an alternative sibling, so it stops short of full 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

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