Skip to main content
Glama

set_column_contract

Write a column's job contract (full replace), turning the column into (or reconfiguring) a durable agent-work queue. Mirrors PUT /v1/boards/{board_id}/columns/{column_id}/contract. contract is an object with any of: enabled (bool), lease_ttl_seconds, max_attempts, concurrency_limit (positive ints), backoff_seconds (list of non-negative ints), on_success_column_id / on_failure_column_id (column ids on THIS board), input_schema / output_schema (JSON Schema objects). Only the keys you send are stored; a key set to null clears that override (reverting to the platform default). Rejects a malformed input_schema/output_schema or an off-board routing target with 422 invalid_contract, and an unknown field with 422. MANAGER-only (403 for a lower role; 404 hides a board/column you can't see). Emits column.contract.updated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "board_id": "<board_id>",
      "column_id": "<column_id>",
      "contract": "<contract>"
    },
    "name": "set_column_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
board_idYes
contractYes
column_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the entire behavioral burden and does so: full-replace semantics, null-clears-override behavior, 422 invalid_contract on malformed schemas or off-board routing, 422 on unknown fields, MANAGER-only with 403 for lower roles, and 404 to hide invisible boards/columns. It also names the emitted event column.contract.updated.

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?

Front-loaded with the verb and effect, then contract shape, then edge cases and error codes — a sensible progression with no filler sentences. It is a dense single block, though, and splitting the contract key list from the failure/permission notes would make it easier 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 mutation tool with a nested free-form payload, no annotations, and an output schema, the description covers semantics, validation failures, authorization, and the emitted event. Nothing an agent needs in order to call it correctly 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?

Schema coverage is 0% and contract is an undescribed free-form object, so the description must compensate — and it enumerates every supported key with types and constraints (enabled bool, lease_ttl_seconds/max_attempts/concurrency_limit positive ints, backoff_seconds non-negative int list, on_success/on_failure_column_id on THIS board, input_schema/output_schema JSON Schema objects). That is meaningfully more than the 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?

States a specific verb and resource ('Write a column's job contract (full replace)') and immediately clarifies the effect: turning the column into or reconfiguring a durable agent-work queue. The read/write distinction against the sibling get_column_contract is implicit but unmistakable from 'Write' plus 'Mirrors PUT'.

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

Usage Guidelines4/5

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

Gives the operative context (full replace, not a patch) and the practical implication that only keys sent are stored, so an agent knows this is the wrong tool for partial tweaks. It never explicitly names an alternative (e.g. get_column_contract for reading, or a create_column path for initial setup), so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources