Skip to main content
Glama
assetlab-canada

AssetLab MCP Server

Official

Update contract

update_contract
DestructiveIdempotent

Modify an existing contract by ID to change its title, category, vendor, dates, annual cost, or description. Requires contracts:write scope.

Instructions

Update an existing contract by ID. Requires contracts:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesContract ID
titleNoContract title
categoryNoContract category
end_dateNoEnd date (ISO 8601)
company_idNoVendor ID
extendableNoWhether contract is extendable
start_dateNoStart date (ISO 8601)
annual_costNoAnnual cost
descriptionNoDescription
quality_scoreNoQuality score (1-10)
purchase_orderNoPurchase order reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true, so the mutation shape is conveyed structurally. The description adds the required contracts:write scope, which is genuine value beyond the annotations, but it does not explain partial-update semantics or why a mere field update is flagged destructive.

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?

Two tight sentences with the operation front-loaded and no filler. Nothing is wasted, though there is little content to structure.

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

Completeness3/5

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

For an 11-parameter mutation with full schema coverage but no output schema, the description covers identification and auth but omits whether unspecified fields are left untouched (partial vs full replacement) and what the destructiveHint implies. Adequate but with clear gaps.

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 every field (title, category, dates, annual_cost, quality_score, etc.) is already documented in the schema. The description contributes only "by ID," which the schema's required id field already conveys, so the baseline 3 applies.

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?

States a specific verb and resource ("Update an existing contract") and scopes it to a single record by ID, which distinguishes it from the create/delete/get contract siblings. It doesn't differentiate from the other update_* family members, but the resource noun is unambiguous.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites beyond the scope note, and no alternatives named. An agent gets no help deciding between this and, say, bulk_update or update_contract_document beyond the plain resource name.

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

Deploy Server

Other Tools