Skip to main content
Glama
ComplianceCow

ComplianceCow MCP Server

add_unique_identifier_to_task

Differentiate tasks sharing the same appType by adding unique identifier tags. Assign distinct key-value pairs to enable separate application configuration for tasks requiring individual applications.

Instructions

Add a unique identifier key-value pair to a specific task's appTags.

Use this when multiple tasks share the same appType but need DIFFERENT applications. The unique identifier allows the system to match each application to its specific task.

WHEN TO USE:

  • After prepare_applications_for_execution() identifies tasks needing differentiation

  • When user chooses "separate applications" option for tasks with same appType

  • Before configuring separate applications for same appType tasks

NOT NEEDED WHEN:

  • User wants to SHARE the same application across multiple tasks

  • Task already has a unique appType (no other tasks share it)

WORKFLOW:

  1. Call prepare_applications_for_execution()

  2. If user chooses separate applications for an appType:

    • Call this tool for each task to add unique identifier

    • Use same key but different values (e.g., "purpose": "source" vs "purpose": "target")

  3. Configure applications with matching identifiers

Args: rule_name: Name of the rule containing the task task_alias: Alias of the task to update identifier_key: Unique identifier key (e.g., "purpose", "sourceSystem") identifier_value: Value for the identifier (e.g., "source-repo", "production-db")

Returns: Dict with update status and guidance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_nameYes
task_aliasYes
identifier_keyYes
identifier_valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses modification target (appTags) and system matching behavior without annotations, though omits edge case handling like duplicate key overwrites.

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?

Excellent structured sections (Purpose/When/Workflow/Args) with front-loaded intent; slightly verbose but every sentence provides actionable guidance.

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?

Adequately covers complex workflow integration and acknowledges return value given output schema exists; could briefly mention idempotency behavior.

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?

Fully compensates for 0% schema description coverage with detailed Args section including semantic explanations and concrete examples for all four parameters.

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?

Explicitly states it adds unique identifier key-value pairs to task appTags and clearly distinguishes its role in differentiating tasks sharing appTypes from sibling tools.

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?

Provides explicit WHEN TO USE/NOT NEEDED WHEN sections with specific workflow triggers, alternatives (sharing vs separate applications), and prerequisite calls to prepare_applications_for_execution().

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/ComplianceCow/cow-mcp'

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