Skip to main content
Glama

validate_arch

Read-only

Runs the validation engine on the current architecture diagram and returns the list of issues. Categories: structure (isolated nodes, queues wired on one side only — no producer or no consumer), security (publicAccess node carrying pii/secret data, sensitive data flows to an external service → DPA reminder). Each issue includes a stable code (arch.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the architecture to the user, or when they ask 'check my architecture'.

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": "validate_arch"
  }
}

Input Schema

NameRequiredDescriptionDefault
severityFilterNoFilters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / severityFilter / description
      Previous value: -"Filters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges (e.g. DPA reminder)."New value: +"Filters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  3. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  4. Changed2 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / severityFilter / description
      Previous value: -"Filtre les issues retournées. 'all' (défaut) renvoie TOUT (error+warning+info). 'errors-only' ne garde que la sévérité la plus grave — actuellement une seule classe : l'exposition publique de données PII/secret (arch.public-sensitive-data). 'errors-and-warnings' masque les info nudges (ex: rappel DPA)."New value: +"Filters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges (e.g. DPA reminder)."
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real value by disclosing the return payload shape (stable arch.* code, severity, message, actionable suggestion) in the absence of an output schema. It does not address whether validation runs against the session project or the expectedProjectId override, a small gap.

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 the core action, then categories, then return shape, then usage timing — a logical progression. The parenthetical examples in the structure/security categories are informative but make the paragraph dense; a bulleted category list would scan faster.

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?

For a zero-required-parameter, read-only validation tool with no output schema, the description covers purpose, check coverage, return fields, and invocation timing — enough to call it correctly. Only the interaction between 'current architecture diagram' and the expectedProjectId override is left implicit.

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 (severityFilter, expectedProjectId) are fully documented in the schema itself. The description never mentions either parameter, though the enumerated 'error|warning|info' severities loosely map to severityFilter values; baseline 3 applies since the schema carries the load.

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 specific verb and resource ('Runs the validation engine on the current architecture diagram and returns the list of issues') and enumerates the check categories, so the agent knows exactly what is validated. It does not explicitly name sibling validators (validate_captable, validate_journey, validate_process_flow), so differentiation relies on the resource noun rather than an explicit contrast.

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?

'Fits before presenting the architecture to the user, or when they ask "check my architecture"' gives clear triggering conditions tied to a workflow moment. There are no exclusions or named alternatives, so it stops short of full routing guidance.

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.