Skip to main content
Glama

Octobooks

Construction Industry Scheme

cis

The Construction Industry Scheme of a UK business (round 701; gov.uk CIS guides and CIS340). Contractor: action=subcontractor_set with code, name, utr, status (gross 0%, net 20%, unmatched 30%, as HMRC's verification gave it), kind, verification_number, verified_on, drc (its services come under the domestic reverse charge), drc_rate (20, or 5 for reduced rate services; contractor_set takes it too, invoices then on UK_OUT_DRC_5); action=pay with code, day, gross (VAT left out), materials, vat, against (bill: clears 2100; cost: labour 5300 and materials 5301, or labour_account and materials_account such as work in progress, with the reverse charge where set, else tax_code UK_IN_20, UK_IN_5, UK_IN_0, UK_IN_EXEMPT or UK_IN_OOS), bank_account: the payment less the deduction (taken from labour, the payment less materials) proposed, the deduction on 2215 CIS payable; action=month with ends (the 5th that ends a tax month): the monthly return figures per subcontractor, due the 19th, paid by the 22nd; action=overview: subcontractors, months, deductions suffered. Subcontractor side: action=contractor_set with code (the customer's code), name, drc (new invoice lines to it on UK_OUT_DRC); action=suffered with code, day, gross, materials, deduction: as the contractor's statement shows, onto 1120 CIS suffered; action=offset with ends: a company sets what was suffered against the PAYE owed (reported on the EPS); a sole trader claims it on SA103S box 38. The return itself goes in on HMRC's CIS online service; the statement PDF is on the CIS page (/cis).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cis"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo
drcNo
utrNo
vatNo
codeNo
endsNo
kindNo
nameNo
grossNo
actionNooverview
statusNo
againstNo
companyNo
drc_rateNo
tax_codeNo
deductionNo
materialsNo
verified_onNo
bank_accountNo
labour_accountNo
materials_accountNo
verification_numberNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / labour_account
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Labour Account"
      +}
    • addedInput schema / properties / materials_account
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Materials Account"
      +}
    • addedInput schema / properties / tax_code
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tax Code"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, and openWorld=false, so the baseline is covered. The description adds substantial behavioral detail beyond that: accounting destinations such as 2215 and 1120, deduction calculations from labour, reverse-charge routing, and filing deadlines. It does not cover permissions, reversibility, or validation behavior, which keeps it from 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph with semicolon-chained actions and nested parentheticals, making it hard to scan. The content is mostly relevant, but it is not front-loaded and lacks structural separation, so the length is not matched by readability.

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 22-parameter, multi-action mutation tool with an output schema, the description covers domain rules, accounting effects, deadlines, and the external filing boundary well enough to call the right action. It still leaves gaps around authentication, validation, and whether each action posts immediately versus proposes changes.

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

Parameters4/5

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

Schema description coverage is 0% across 22 parameters, so the description has to carry the semantic load. It does so for most fields — status rates, against values, tax_code options, drc_rate 20/5, labour and materials accounts, and action-specific meanings. It omits the company parameter and most format/type conventions, so 4 rather than 5.

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 opens with the specific domain (UK Construction Industry Scheme, round 701) and enumerates contractor- and subcontractor-side actions, so an agent can identify it as a CIS bookkeeping tool. It never gives a one-line purpose statement or explicitly distinguishes itself from siblings such as bill or accounts, so it stops short of 5.

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?

Each action is tied to a concrete use case: subcontractor_set, pay, month, overview, contractor_set, suffered, and offset are all described in context. It also sets a useful boundary by stating that the return itself is filed through HMRC's CIS online service, but it gives no explicit alternatives or when-not guidance versus sibling tools.

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