Skip to main content
Glama
sdelements

SD Elements MCP Server

Official
by sdelements

Update Countermeasure

update_countermeasure

Modify the status or add notes to security countermeasures in SD Elements projects to track implementation progress and compliance.

Instructions

Update a countermeasure (status or notes). Use when user says 'update status', 'mark as complete', or 'change status'. Do NOT use for 'add note', 'document', or 'note' - use add_countermeasure_note instead. Accepts countermeasure ID as integer (e.g., 21) or string (e.g., "T21" or "31244-T21").

Status can be provided as name (e.g., 'Complete', 'Not Applicable'), slug (e.g., 'DONE', 'NA'), or ID (e.g., 'TS1'). The tool will automatically resolve names/slugs to the correct status ID required by the API.

IMPORTANT: The 'notes' parameter sets a status_note, which is only saved when the status actually changes. If the countermeasure already has the target status, use add_countermeasure_note instead to add a note, or change the status to a different value first, then back to the target status to trigger saving the status_note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesID of the project
countermeasure_idYesID of the countermeasure
statusNoNew status (name, slug, or ID)
notesNoStatus note (only saved when status changes)
Behavior5/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: it explains that the 'notes' parameter sets a status_note that is only saved when the status changes, warns about the limitation if the countermeasure already has the target status, and provides workarounds (use add_countermeasure_note or change status twice). This goes beyond basic functionality to include important operational nuances.

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 well-structured and front-loaded with the core purpose and usage guidelines. Each sentence adds valuable information, such as parameter details and behavioral notes. While it is slightly longer due to necessary explanations, there is minimal waste, and the information is organized logically for clarity.

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?

Given the complexity of the tool (4 parameters, no annotations, no output schema), the description does a good job of providing context. It covers purpose, usage, parameter details, and behavioral nuances. However, it does not explicitly mention potential errors, rate limits, or authentication needs, which could be relevant for a mutation tool, leaving a minor gap in completeness.

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?

The schema description coverage is 100%, so the baseline is 3. The description adds significant value by explaining parameter semantics: it clarifies that countermeasure_id can be an integer or string with examples (e.g., 21, 'T21', '31244-T21'), and that status can be provided as name, slug, or ID with examples (e.g., 'Complete', 'DONE', 'TS1'). It also explains the 'notes' parameter behavior in detail, which enhances understanding 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 explicitly states the tool's purpose: 'Update a countermeasure (status or notes).' It specifies the exact resources being modified (countermeasure status or notes) and distinguishes it from sibling tools like 'add_countermeasure_note' by clarifying what operations it handles versus what it does not.

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?

The description provides explicit guidance on when to use this tool (e.g., when user says 'update status', 'mark as complete', or 'change status') and when not to use it (e.g., for 'add note', 'document', or 'note' - use add_countermeasure_note instead). It also mentions an alternative tool (add_countermeasure_note) for specific scenarios, making the usage context very clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdelements/sde-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server