Skip to main content
Glama
mikeysrecipes

eSignatures MCP Server

query_contract

Retrieve complete details of a sent contract by its ID, including status, final PDF URL, metadata, expiry, and signer event history.

Instructions

Responds with the contract details, contract_id, status, final PDF url if present, title, labels, metadata, expiry time if present, and signer details with all signer events (signer events are included only for recent contracts, with rate limiting).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contract_idYesGUID of the contract (draft contracts can't be queried, only sent contracts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: optional fields are conditional, signer events are only included for recent contracts, and rate limiting applies. It does not explicitly state that this is a read-only operation or describe error/not-found behavior, which would increase transparency.

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 a single dense sentence that packs in the key return fields and important caveats without unnecessary filler. The opening phrase 'contract details' is slightly redundant with the explicit list that follows, but overall it remains compact and readable.

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?

Given there is no output schema, the description does a good job listing expected return fields and important conditional behaviors like optional PDF/expiry and signer-event rate limiting. It could be more complete by specifying rate-limit details and what happens for invalid or draft contracts, but for a one-parameter query tool it is largely sufficient.

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

Parameters3/5

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

The schema already fully documents the single contract_id parameter, including the GUID format and the draft-contract restriction. The description adds no parameter-specific detail, so the baseline score of 3 is appropriate.

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 a query/read operation for a single contract and enumerates the returned fields, making the tool's purpose unambiguous. It does not explicitly contrast with list_recent_contracts or query_template, but the resource and verb are still clear.

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

Usage Guidelines3/5

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

The description implies the tool is for retrieving a specific contract's details via contract_id, and the caveat about signer events only for recent contracts provides some context. However, it does not explicitly say when to prefer this over list_recent_contracts or mention the draft-contract exclusion, which lives only in the schema.

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