Skip to main content
Glama

Reins — MCP Security Gateway

check_policy

Dry-run security policy evaluation

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": {
      "agent_id": "<agent_id>",
      "action_type": "<action_type>",
      "target_resource": "<target_resource>",
      "sensitivity_level": "<sensitivity_level>"
    },
    "name": "check_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
urgencyNo
agent_idYes
action_typeYes
environmentNo
target_resourceYes
sensitivity_levelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Dry-run' usefully signals a non-enforcing, non-mutating evaluation, but nothing is said about required permissions, whether it reads live policy state, how sensitive data is treated, or what the result looks like. That is thin coverage for a 7-parameter tool.

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, front-loaded phrase with no wasted words, so it is concise by construction. The terseness is under-specification rather than efficiency, but the sentence itself is clean.

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 tool with seven parameters, four required, three enum-constrained fields, no annotations and no output schema, the description is far too sparse. It communicates only the dry-run trait and leaves the agent without the information needed to construct a correct call.

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% and the description adds no meaning for any of the seven parameters. Required fields like agent_id, action_type, target_resource and sensitivity_level (the latter two enum-constrained) are entirely undocumented, so an agent must guess at formats and allowed semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Dry-run security policy evaluation' conveys the resource (security policy) and the key trait (dry-run, i.e. simulated evaluation), which does distinguish it from mutating siblings like approve_action or reject_action. However, there is no verb explaining what the tool actually returns or does (evaluate and return a decision? return a report?), leaving the purpose only partially specified.

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?

No guidance is given on when to call this versus request_action or approve_action, nor on prerequisites such as whether a policy must exist first. The 'dry-run' wording implies a pre-flight check but the description never states that explicitly or names any alternative.

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