Skip to main content
Glama

rms__CreateOrganizationPolicyAssignment

Create or update an organization compliance policy assignment; if the rule name exists, the operation updates the existing assignment.

Instructions

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

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": "rms__CreateOrganizationPolicyAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
organization_idYes组织ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/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 discloses one genuinely useful trait — the upsert/overwrite-if-name-exists behavior — but says nothing about required permissions, whether an update overwrites or merges existing settings, idempotency, or reversibility. For a mutation tool with zero annotation coverage this leaves the agent under-informed about consequences.

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 that front-loads the action and appends the upsert condition. No filler or repetition, though the trailing clause is the only part that earns its place beyond the name.

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/update mutation tool the definition is thin: with only organization_id in the schema, no annotations, and no output schema, an agent cannot tell what payload actually defines the rule or what the call returns. The description should have explained the create/update payload expectations or at least the effect of the operation on existing assignments.

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?

Schema description coverage is 100% for the single parameter (organization_id), so the schema already documents it and the description adds nothing about its meaning. Worse, the description references a 'rule name' that does not appear in the input schema at all, which creates ambiguity about what else must be supplied rather than clarifying the parameter.

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 pair (create or update) and resource (organization compliance rule), and even disambiguates the upsert semantics in the same sentence. The only weakness is terminology drift: the tool is named OrganizationPolicyAssignment but the description speaks of '合规规则' (compliance rule), which is not identical vocabulary and could make an agent hesitate about whether this is the same object.

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 condition ('if the rule name already exists, it is an update') implicitly tells the agent this single tool covers both create and update paths, which is useful routing context. However, it never says when to prefer this over the sibling create/update/delete/show variants, nor what prerequisites or failure conditions select an alternative.

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