Skip to main content
Glama
MarkAC007

mcp-server-scf

by MarkAC007

scf_create_deficiency

Create a deficiency record against an in-scope control or assessed risk. Requires organization ID, title, and at least one of control or risk code; starts open.

Instructions

Raise a deficiency by hand (write — editor) against an in-scope control, an assessed risk, or both. At least one of scf_id or risk_code is required. Starts open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesShort title (1–255 chars, non-blank)
org_idYesOrganization UUID — obtain from scf_list_organizations
scf_idNoControl the deficiency is against — must be in scope (422 otherwise); obtain from scf_list_scoped_controls
due_dateNoDue date (YYYY-MM-DD)
priorityNoPriority: critical, high, medium, low (platform default medium)
risk_codeNoRisk the deficiency is against — must be one the organisation has assessed (422 otherwise)
owner_nameNoFree-text owner
root_causeNoWhy the deficiency arose
descriptionNoWhat is deficient
owner_user_idNoOwner user — must be a member of the organisation (404 otherwise); see scf_list_members

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.7.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive write, so the description's job is to add mutation context beyond that. It does: it discloses the editor role requirement, the initial lifecycle state ('Starts open'), and the referential constraints (control must be in scope; risk must be assessed). It stops short of describing whether the response returns the new id or how 422s surface, but the added context is real.

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

Conciseness5/5

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

Three short clauses, front-loaded with the action and scope, then the constraint, then the initial state. No filler and nothing repeated from the title or schema.

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 10-parameter mutation with no output schema, the description covers the critical input constraint and lifecycle starting point. It leaves owner-name vs owner-user-id precedence and post-create behavior unstated, which is a minor gap rather than a blocking one.

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 coverage is 100%, so the baseline would be 3, but the description supplies a cross-field rule the schema does not encode: the required list is only org_id and title, yet scf_id or risk_code must be present in combination. That is meaningful semantics beyond the structured data.

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 ('Raise a deficiency') and adds a distinguishing qualifier ('by hand') that separates it from auto-generated deficiencies reachable through sibling tools. An agent can tell it apart from scf_update_deficiency and scf_get_deficiency without opening any schema.

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 a concrete prerequisite ('At least one of scf_id or risk_code is required') tied to the target being an in-scope control or an assessed risk, which is the key selection condition for this tool. It does not name alternatives or exclusions, but the required context is clear.

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