Skip to main content
Glama

Server Details

Variable relationships from research papers with causal direction and source traceback.

If you are the author of this connector, you can claim ownership with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Available Tools

4 tools
check_device_authCheck Device AuthA
Read-onlyIdempotent
Inspect
Check if the user has completed browser sign-in for a device auth request.

Poll this after calling initiate_device_auth. Returns status 'pending'
while waiting, or 'complete' with an api_key when the user has signed in.
Use the returned api_key as the authorization parameter in other tools.

Args:
    user_code: The user_code returned by initiate_device_auth.

Returns:
    Pending: {"status": "pending"}
    Complete: {"status": "complete", "api_key": "hk_..."}
    Error: {"error": "..."}
ParametersJSON Schema
NameRequiredDescriptionDefault
user_codeYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A5/5.0
Behavior5/5

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

Even with annotations indicating idempotent and read-only, the description adds critical context: the polling mechanism, possible return states (pending/complete/error), and the returned api_key usage. 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.

Conciseness5/5

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

The description is well-structured with labeled sections (Args, Returns) and front-loaded purpose. Every sentence adds value, with no wasted words.

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 tool's simplicity (one parameter, no nested objects), the description fully covers all necessary aspects: purpose, usage sequence, parameter source, return types, and error handling. The output schema is documented inline, leaving no gaps.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining the sole parameter 'user_code' as 'The user_code returned by initiate_device_auth', adding essential context not present in the schema.

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 uses a specific verb-resource pair ('Check if the user has completed browser sign-in') and clearly distinguishes this polling tool from the sibling 'initiate_device_auth' by stating it should be called after that.

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?

Explicitly states when to use ('Poll this after calling initiate_device_auth'), implying not to use before. This provides clear context for selection among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_analysis_statusGet Analysis StatusA
Read-onlyIdempotent
Inspect
Check the processing status of an uploaded paper.

Poll this tool after uploading a PDF until status is 'Ready' before
calling get_variable_relationships.

Args:
    file_id: The file_id returned by the /upload endpoint.
    authorization: Optional. API key as 'Bearer hk_...' or 'hk_...'.
    session_token: Optional. The session_token returned by /upload for anonymous uploads.

Returns:
    {
      "status": "Processing" | "Ready" | "Empty" | "Ineligible" | "Pending",
      "edges_count": int,
      "variables_count": int
    }
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idYes
authorizationNo
session_tokenNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety behavior is covered. The description adds useful context beyond this by listing the possible status values (Processing, Ready, Empty, Ineligible, Pending), explaining the polling loop expectation, and documenting auth/session options.

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?

The description is well-structured and front-loaded with the core purpose, followed by a one-line usage directive and compact Args/Returns sections. Every sentence adds needed information; there is no filler or repetition.

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?

For a 3-parameter polling tool with an output schema, annotations, and documented auth variants, the description covers all essential context: why to call it, how to call it repeatedly, what each argument means, and what status values signal completion. Nothing needed for correct invocation is missing.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining each parameter: file_id comes from /upload, authorization is an optional API key with a concrete format, and session_token is optional for anonymous uploads. This is far more informative than the bare schema names and defaults.

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 opens with a clear verb+resource pair, 'Check the processing status of an uploaded paper,' which precisely defines the tool's function. It also distinguishes this from the sibling get_variable_relationships by framing this as the prerequisite polling step for that tool.

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 gives an explicit workflow: poll after uploading a PDF until status is 'Ready' before calling get_variable_relationships. This clearly states when to use the tool and how it relates to the alternative/downstream sibling, leaving no ambiguity about its place in the process.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_variable_relationshipsGet Variable RelationshipsA
Read-onlyIdempotent
Inspect
Retrieve analyzed variable relationships for a completed paper.

Only returns results when get_analysis_status reports status='Ready'.

Without an API key (anonymous): returns the relationship list with
source, target, and direction — but detailed reasoning is available
only with an API key. Sign up at https://hypathesis.com to get one.

Args:
    file_id: The file_id returned by the /upload endpoint.
    authorization: Optional. API key as 'Bearer hk_...' or 'hk_...'.
    session_token: Optional. The session_token returned by /upload for anonymous uploads.

Returns:
    Authenticated: full details (source, target, directed, reason per
    relationship; name, measure per variable).
    Anonymous: gated (source, target, directed per relationship;
    name per variable; sign_up_url for full access).
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idYes
authorizationNo
session_tokenNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, the description discloses the status gate, the anonymous-vs-authenticated response difference, and the sign-up action needed for full access. It is consistent with annotations and leaves no surprising mutation behavior.

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?

The description is front-loaded with a one-sentence purpose, then uses compact Args/Returns blocks. Every paragraph adds a distinct piece of information: readiness, auth handling, parameter origins, and response shape.

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?

For a tool with one required parameter, two optional auth parameters, and an output schema, the description supplies everything needed to call it correctly and interpret the result. The only omitted detail, behavior when status is not Ready, is safely implied by the explicit precondition.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full parameter burden. It explains file_id's origin (/upload endpoint), authorization's accepted formats ('Bearer hk_...' or 'hk_...'), and session_token's role for anonymous uploads.

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 opening sentence names the exact operation ('Retrieve analyzed variable relationships') and scopes it to 'a completed paper'. It also explicitly references get_analysis_status, distinguishing this tool from the status-checking sibling.

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?

It states the readiness precondition ('Only returns results when get_analysis_status reports status="Ready"'), which tells an agent when calling will be productive. It also provides clear auth-mode guidance: anonymous calls get gated results, while API-key calls get full details.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

initiate_device_authInitiate Device AuthAInspect
Start a browser-based sign-in flow to get an API key for full access.

Call this when you need detailed analysis results (reasoning, measurements)
that require authentication. Returns a verification URL to show to the user.
After the user signs in, poll check_device_auth with the returned user_code
to get the API key.

Returns:
    {
      "verification_url": str,
      "user_code": str,
      "expires_in": 600,
      "message": str
    }
ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.8/5.0
Behavior4/5

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

Discloses return values (verification URL, user_code, expires_in, message) and that it starts a sign-in flow. Annotations are neutral; no mention of side effects like invalidating previous auths.

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?

Description is brief: one sentence for purpose, two sentences for usage guidance, and a sample return. No unnecessary words.

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?

Tool has no parameters and a clear output; description covers the flow and return format completely, including subsequent step to poll check_device_auth.

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

Parameters5/5

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

No parameters in input schema, so description does not need to add meaning. Schema coverage is 100% (empty schema is fully described by absence).

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 the tool starts a browser-based sign-in flow to get an API key for full access. It differentiates from sibling tools like check_device_auth (polling) and analysis 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?

Explicitly says 'Call this when you need detailed analysis results that require authentication' and instructs to poll check_device_auth after user signs in.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.8/5.0
Disambiguation5/5

Each tool has a distinct purpose: two for authentication flow (initiate, check), one for status polling, one for retrieving results. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (initiate_device_auth, check_device_auth, get_analysis_status, get_variable_relationships), making them predictable.

Tool Count5/5

Four tools is well-scoped for a focused service handling authentication, status checking, and result retrieval without unnecessary bloat.

Completeness3/5

The tools cover auth and retrieval but lack an upload tool, requiring external action to start the workflow. This is a notable gap for a complete lifecycle.

Resources