Skip to main content
Glama

security_grafana_check

Read-only

Grafana config audit — Offline security review of a Grafana grafana.ini (or GF__=value env vars / docker-compose environment lines). Flags the default admin/admin password, the public default secret_key, anonymous access (CRITICAL when org_role is Editor/Admin), open sign-up with auto-assigned roles, disabled brute-force protection, auth.proxy without a whitelist, generic OAuth with no allowed domains/groups, tls_skip_verify_insecure, disable_sanitize_html (stored XSS), unsigned plugins, allow_embedding (clickjacking), insecure cookies on HTTPS, plaintext HTTP on all interfaces, weak min TLS, database TLS off, hardcoded DB/OAuth secrets (never echoed), external snapshots and debug logging. Returns score, A-F grade, PASS/REVIEW/FAIL and line-numbered findings with fixes. Params: text (config; newlines may be sent as a literal backslash-n) or url (raw file or GitHub blob URL) instead of text. Price: $0.005 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYese.g. [security] admin_password = admin [auth.anonymous] enabled = true org_role = Editor [users] allow_sign_up = true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, open-world, and the description adds real substance beyond them: the checklist of what is flagged, that secrets are never echoed back, the exact output shape (score, A-F grade, PASS/REVIEW/FAIL, line-numbered findings with fixes), and a cost of $0.005 USDC via x402. That is unusually rich behavioural disclosure; only the lack of any note on size limits or large-file handling keeps it off a 5.

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?

Front-loaded with purpose, then a dense but purposeful enumeration of checks, then output shape, parameters, and price in a fixed order. The check list is long, but each item is a distinct security finding that justifies the audit's coverage; the single-paragraph run-on costs it a point.

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?

With no output schema, the description correctly takes on the burden of explaining return values (score, grade, verdict, line-numbered findings with fixes) and does so. The one real gap is the phantom `url` input that does not exist in the schema, leaving ambiguity about how a URL-based audit is actually invoked.

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

Parameters4/5

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

The description adds genuine meaning beyond the schema — notably that newlines may be sent as a literal backslash-n, which the schema's example-only text field does not convey. However it advertises a "url (raw file or GitHub blob URL) instead of text" parameter that is absent from the input schema, which only defines a required `text` property; an agent following the description would find no such field.

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?

Opens with a specific verb and resource ("Grafana config audit — Offline security review of a grafana.ini") and immediately scopes the input formats it accepts. An agent can distinguish this from the other security_*_check siblings without opening any schema.

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

Usage Guidelines4/5

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

Usage conditions are stated concretely: supply a config via text (or env-var / docker-compose environment lines) or via a URL; the text-vs-url choice is spelled out. What is missing is any explicit when-not or alternative tool guidance, though for a config-scanner family the trigger is largely self-evident.

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