Skip to main content
Glama
fieldjoshua

Upwork MCP Server

by fieldjoshua

Get Contract Details

upwork_get_contract
Read-onlyIdempotent

Retrieve detailed contract information by contract ID, including payment terms, milestones, and client feedback.

Instructions

Get detailed information about a specific contract.

Retrieve complete contract details including terms, milestones, and feedback.

Args:

  • contract_id (string, required): The contract ID

  • include_milestones (boolean): Include milestone details (default: true)

  • include_feedback (boolean): Include feedback details (default: true)

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: Complete contract details including payment terms, milestones, and client feedback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contract_idYesThe unique identifier of the contract to retrieve
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
include_feedbackNoWhether to include feedback details in the response
include_milestonesNoWhether to include milestone details in the response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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. The description adds useful behavioral context by specifying that milestones and feedback are included by default and that response_format controls output shape. 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 well-organized with an opening sentence, a summary sentence, an Args block, and a Returns block. Minor redundancy exists between 'Get detailed information' and 'Retrieve complete contract details', but it is compact and easy to scan.

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 simple read-only retrieval tool with no output schema, the description adequately explains what is returned (payment terms, milestones, feedback) and how to control output via parameters. All call-relevant information is present, and annotations cover the safety profile.

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?

Schema description coverage is 100%, so all four parameters are already well documented in the schema. The description repeats the parameters and defaults but adds little beyond what the structured schema provides.

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 states a specific verb ('Get') and resource ('detailed information about a specific contract'), clearly distinguishing it from list-style siblings like upwork_list_contracts. The title and description are consistent and precise.

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 use when you have a specific contract_id and need full details, but it does not explicitly mention alternatives such as upwork_list_contracts for discovering contracts or how to obtain a valid contract ID. No when-not-to-use guidance is provided.

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