Skip to main content
Glama

cycles

structcraft_cycles
Read-onlyIdempotent

Ciclos (emaranhados) em todos os níveis, com sugestão de arestas para cortar (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_cycles"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoLimita a busca a este nó (padrão: tudo)
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

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered elsewhere. The description adds two genuinely useful behavioral facts: it works against public GitHub repositories and it returns suggested edges to cut alongside the cycles. It says nothing about cost, limits, or failure modes for private/missing repos.

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 compact sentence with no filler, and the core concept is front-loaded. The stacked parentheses ('(emaranhados)' and '(repositório público do GitHub)') make it slightly clunky to parse but nothing 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 two-parameter read-only analysis tool with full schema coverage and no output schema, the description covers input domain and hints at output content. It still leaves open what the result structure is, whether cycle reporting is capped, and how deep 'all levels' goes relative to structcraft_levels.

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 `repo` and `node` are documented in the schema itself, and the baseline is 3. The description's only semantic contribution is 'em todos os níveis', which implies the analysis is whole-graph unless `node` narrows it, but this is not stated explicitly enough to exceed baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the concept ('Ciclos (emaranhados) em todos os níveis') and even a value-add ('com sugestão de arestas para cortar'), so an agent can guess it reports dependency cycles in a GitHub repo. But it is a noun phrase with no verb, and it never distinguishes itself from siblings like structcraft_deps or structcraft_excess, which plausibly analyze overlapping graph properties.

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 mention of when not to use it, and no named alternative among the sibling tools. The only hint is the parenthetical 'repositório público do GitHub', which constrains input rather than usage.

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.