Skip to main content
Glama

Run a server audit

run_server_audit

Use this when the user explicitly asks for a new audit of the server and no recent audit exists (get_server_audit). It follows the audit rules of the account; when no audit is available it says when the next one is. Do not use for reading the latest audit; use get_server_audit.

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

Input Schema

NameRequiredDescriptionDefault
guild_idYesDiscord server ID, as returned by list_my_servers.
include_layoutNoAlso return layout details (channel order, names, categories).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive operation, so the safety profile is partly covered. The description adds real behavioral context: the audit follows the account's audit rules and, when no audit is available, reports when the next one is. It stops short of saying whether a triggered audit consumes quota or what happens if a recent audit already exists.

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?

Three short sentences, front-loaded with the usage condition before the exclusion. There is minor redundancy: get_server_audit is referenced twice (once in the trigger clause, once in the exclusion), which could be tightened into a single statement.

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

Completeness3/5

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

For a mutating, non-idempotent tool with no output schema, the description never explains what a successful audit returns or how results are surfaced. It only covers the degenerate case ('when no audit is available it says when the next one is'), leaving the main return behavior for the agent to discover by calling it.

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%, so both parameters (guild_id and include_layout) are already documented, including where the guild ID comes from. The description adds no meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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?

The description states a specific action (trigger a new server audit) and explicitly names the sibling it must not be confused with (get_server_audit). An agent can distinguish 'run a new audit' from 'read the latest audit' without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit trigger condition ('user explicitly asks for a new audit and no recent audit exists') and an explicit exclusion ('Do not use for reading the latest audit; use get_server_audit'). The alternative is named with the condition that selects it.

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