Skip to main content
Glama

scan

structcraft_scan
Read-onlyIdempotent

Analisa o workspace/repo e grava o modelo em .structcraft/model.json (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_scan"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is largely covered. The description adds genuinely useful behavior beyond them by disclosing the local side effect of writing .structcraft/model.json and by restricting input to public GitHub repos. However, it does not mention auth/token needs, rate limits, or what the call itself returns, and the stated file write sits in mild tension with readOnlyHint=true.

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?

It is a single short sentence with the action and the output artifact front-loaded, and there is no filler. It is arguably over-terse rather than verbose, but nothing written is wasted.

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 tool that reaches out to GitHub and materializes a model file, the description covers the input constraint and the persisted artifact, which is the key thing to know. With no output schema, it should still say what the call returns and whether subsequent structcraft tools consume the written model; those gaps keep it at a minimum-viable level.

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?

With a single parameter and 100% schema description coverage, the schema already spells out the three accepted repo formats in detail. The description only echoes the public-repo constraint already present in the schema, adding no new meaning about the parameter.

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 gives a concrete verb plus resource ("Analisa o workspace/repo") and names the artifact it produces (".structcraft/model.json"), so an agent knows this is the analysis/model-building step. It does not differentiate itself from siblings such as structcraft_check, structcraft_tree, or structcraft_deps, leaving the agent to infer the distinction from names alone.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g., that other structcraft tools depend on this scan running first), and no reference to any alternative tool. The only usage constraint present is the implicit one that the repo must be public.

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.