Skip to main content
Glama

Reins — MCP Security Gateway

add_policy

Create a security policy for your organization

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

Input Schema

NameRequiredDescriptionDefault
nameYes
priorityNo
hard_blockNo
action_typeNo
descriptionNo
environmentNo
auto_approveNo
target_resourceNo
requires_approvalNo
sensitivity_levelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description has to carry the behavioral burden for a write operation with ten fields. It says nothing about required permissions, whether policies take effect immediately, how priority or hard_block interact, or how this relates to request_action and approve_action. Only the implied 'create' mutation is conveyed.

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

Conciseness3/5

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

It is a single short, front-loaded sentence with no filler. However, the brevity comes from under-specification rather than efficient communication, since nothing actionable about the ten fields is included.

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

Completeness1/5

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

For a policy-creation mutation with ten parameters, one required field, no output schema and no annotations, this is far too thin. It should at minimum explain the core fields and how the approval-related flags and environment choice affect the created policy.

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

Parameters1/5

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

Schema description coverage is 0% across ten parameters. The description mentions no fields, so meanings for priority, hard_block, action_type, requires_approval, auto_approve, target_resource and sensitivity_level are left entirely to the agent's guesswork, including how the two approval flags differ.

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 gives a specific verb and resource: 'Create a security policy'. That clearly separates it from read-oriented siblings such as list_policies and check_policy. It does not explicitly name an alternative, so it stops short of a 5.

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

Usage Guidelines2/5

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

It says nothing about when to use this instead of check_policy or list_policies, and it names no prerequisites such as administrative scope or required setup. 'For your organization' only sets a scope; the agent has no routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources