Skip to main content
Glama
Clockbook-com

Freelance MCP server

Official

freelance_fund_milestone

Commit a milestone's payment to escrow before work begins, holding funds until approval. Requires SPEND scope; without it, a human must grant access.

Instructions

MOVES MONEY. Commit a milestone's amount to escrow before the work starts. Requires the SPEND scope, which the server enforces - an agent identity without it is refused with FREELANCE_AGENT_SCOPE_REQUIRED, and the fix is a human granting the scope, not a retry. The money leaves the organization's spendable balance and is HELD: still the organization's, no longer spendable, not yet the freelancer's. No acknowledgement flag is needed because this is reversible - freelance_refund_milestone takes it straight back while the work is unapproved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe contract id.
milestoneIdYesThe milestone id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and handles it well: it discloses that money leaves the spendable balance, is HELD as the organization's but not spendable and not the freelancer's, and is reversible while the work is unapproved. This is unusually clear about state changes and side effects.

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 dense and front-loaded, leading with the money-movement effect, then prerequisites, then reversibility. The opening 'MOVES MONEY.' is slightly redundant with the next sentence, but every remaining sentence earns its place.

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?

For a financial mutation tool with no annotations and no output schema, the description covers the critical context: prerequisites, error behavior, escrow semantics, and reversibility. It does not describe the success response or return value, which is a minor gap given the command-like nature of the operation.

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 coverage is 100% and the parameter descriptions in the schema already identify the contract id and milestone id. The tool description adds context about the milestone's amount and escrow, but it does not explain the relationship between the two IDs or add parameter-specific semantics beyond 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 states a specific verb and resource: 'Commit a milestone's amount to escrow before the work starts.' It also distinguishes itself from the sibling refund tool by naming freelance_refund_milestone and clarifying the forward-vs-return direction of the money movement.

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 gives an explicit temporal trigger ('before the work starts'), states a hard prerequisite (SPEND scope), and tells the agent exactly what to do on failure: the fix is a human granting the scope, not a retry. It also says no acknowledgement flag is needed because the operation is reversible, which guides interaction design.

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