Skip to main content
Glama

check

structcraft_check
Read-onlyIdempotent

Gate de CI: falha só se houver regressão em relação ao baseline (repositório público do GitHub)

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": {
      "repo": "<repo>"
    },
    "name": "structcraft_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepositório PÚBLICO do GitHub: "dono/repo", "https://github.com/dono/repo" ou ".../tree/<branch>"
formatNoFormato do relatóriotext

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish the safe, idempotent, read-only, open-world profile, so the description only needs to add behavior beyond that, and it does: it discloses the failure semantics (fails only on regression vs baseline, i.e., exits non-zero only on regressions) and the constraint that the repository must be public, which is a real permission/access limitation. It does not mention network/rate limits or what the report contains, so it is not exhaustive.

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?

A single sentence that front-loads the core role ('Gate de CI') and immediately qualifies it with the failure condition and input constraint. No filler or repetition of schema content.

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?

With only two parameters and no output schema, the missing piece is what the check actually measures and what the gate result looks like beyond pass/fail, which the description never states. Annotations cover safety, and the description covers the CI-gate semantics, so it is workable but leaves a meaningful gap for an agent deciding whether this is the right check to run.

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 coverage is 100%, with the repo parameter documented with accepted formats and the format enum documented with a default, so the schema carries the parameter burden and the baseline of 3 applies. The description only echoes the public-repo constraint and adds no new meaning for 'format' or the baseline reference.

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?

The description names a concrete function: a CI gate that fails only when a regression is detected against a baseline, and it constrains the input to public GitHub repositories. An agent can tell this is a pass/fail regression check rather than a report generator. It stops short of saying what is being checked (architecture rules, dependencies, levels), which is what would fully separate it from siblings like structcraft_rules_check or structcraft_scan.

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?

'Gate de CI' implies the usage context (pipeline/automation) and the fail-only-on-regression clause implies when it is appropriate. However, there is no explicit when-not guidance or named alternative (e.g., use the scan/report tools when you want the full analysis rather than a gate), so the agent must infer routing from sibling names alone.

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.