Skip to main content
Glama

Runledge

Get Runledge AI rule recommendations

get_rule_recommendations
Read-only

Review the last 30 days of agent activity for uncovered actions and volume spikes, and return suggested rules. Suggestions are not applied. Team and above.

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

Input Schema

NameRequiredDescriptionDefault
workspace_idYesWorkspace id from list_workspaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces safety by stating suggestions are not applied. It adds genuinely new context the annotations don't carry: a fixed 30-day lookback window and a Team-tier permission requirement.

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

Conciseness5/5

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

Three short sentences with the core action and scope front-loaded, followed by the non-mutating qualifier and the access tier. No redundant or filler wording.

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?

There is no output schema, but the description specifies that the return value is suggested rules, which covers the essential return contract. Permissions and time window are stated; minor gaps are the absence of any cost/latency or suggestion-detail hints, which are not critical for a single-parameter read tool.

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?

Only one parameter, and the schema fully documents it (100% coverage) including the UUID format and the 'from list_workspaces' hint. The description adds no further meaning about workspace scoping, so the schema carries the whole burden — baseline 3 is appropriate.

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?

Names a specific verb pair (review, return suggested rules) and a concrete resource (last 30 days of agent activity, uncovered actions, volume spikes). The clause 'Suggestions are not applied' cleanly separates it from a draft/apply-style sibling such as draft_policy_rules.

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 trigger condition is implied well — use it to find uncovered actions and volume spikes over a 30-day window — and 'Team and above' states an access prerequisite. However, it never explicitly says when not to use it or which sibling to pick instead (e.g. draft_policy_rules), leaving the routing decision to inference.

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