Skip to main content
Glama

config__CreateOrganizationPolicyAssignment

Creates an organization compliance policy assignment and updates it when the rule name already exists, using the specified organization ID.

Instructions

[CONFIG] 创建组织合规规则,如果规则名称已存在,则为更新操作。

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": {
      "organization_id": "<organization_id>"
    },
    "name": "config__CreateOrganizationPolicyAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
organization_idYes组织ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the create-vs-update branching, which is genuinely useful non-obvious behavior, but it says nothing about required permissions, what happens to existing rule content on the update path (merge vs replace), or error semantics for an invalid organization ID.

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?

A single compact sentence, front-loaded with the action and followed by the most decision-relevant caveat. Nothing is wasted, though the phrasing is dense enough that the upsert condition could be easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create operation, the schema exposes only the organization_id path parameter and no rule name, policy identifier, or rule body. The description does nothing to explain where the rule definition comes from, so an agent has no way to know what else the call requires; with no annotations and no output schema, this is a meaningful completeness gap.

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

Parameters3/5

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

With a single parameter at 100% schema description coverage, the schema already documents organization_id including its regex pattern and length limits, so the baseline is 3. The description adds no additional meaning about the parameter, such as whether the organization must be the caller's management account.

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 states a specific verb and resource (创建组织合规规则) and adds the upsert nuance that an existing rule name turns the call into an update. It does not differentiate itself from the sibling config__UpdateOrganizationPolicyAssignment, so an agent cannot tell from the text alone when one is preferred over the other.

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

Usage Guidelines3/5

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

The upsert sentence implies usage: this call can be used when you are unsure whether the rule already exists, since a duplicate name degrades into an update. However, there is no explicit when-to-use / when-not guidance and no mention of the Update sibling that would normally handle modification.

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