Skip to main content
Glama

Create security config

init_security_config

Creates a starter .qa-mcp/security.yaml with identities, resources, admin paths, and checks to configure API security tests.

Instructions

Write a starter .qa-mcp/security.yaml (identities, resources, admin paths, checks).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "init_security_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and falls short: it does not say whether an existing .qa-mcp/security.yaml is left alone, merged, or replaced, nor where the path is rooted (cwd vs project root), nor what is returned on success. That it mutates the filesystem is only inferable from the verb "Write".

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?

A single front-loaded sentence with the file path and generated contents, no filler. It is efficient, though the brevity is achieved partly by omitting information an agent actually needs.

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?

This dimension is scored relative to complexity, and this is a one-parameter scaffolding tool — the description correctly conveys what is written and where. The critical missing piece is the overwrite behavior and the existing-file case, which matters more than return values here.

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

Parameters2/5

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

The single parameter `overwrite` (default false) has 0% schema description coverage and is not mentioned in the description, so its most consequential semantics — refusing to clobber vs replacing an existing config — are invisible. The one sentence spends no words on parameters.

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?

States a concrete verb ("Write") and a specific artifact (.qa-mcp/security.yaml) and enumerates the sections the starter file contains (identities, resources, admin paths, checks). It is clearly a scaffolding/bootstrap tool, distinguishable in spirit from the sibling security_config, but it never names that sibling or states how they differ.

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?

"starter" weakly implies first-time setup, but there is no explicit when-to-use, no statement of prerequisites, and no guidance on when to use security_config instead. Nothing tells the agent whether this is safe to run on an existing project.

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