Skip to main content
Glama
ContextMap
by Leoomk

mc_obter_modelo

Returns full canonical source code and specifications for predefined structural blocks, so AI coding assistants can implement project patterns with fewer tokens and regressions.

Instructions

Entrega o código-fonte canônico completo e especificações de um Super-Bloco Estrutural ('auth-rbac', 'admin-kpis', 'safe-modal-toast', 'auto-update-banner').

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": {
      "id_bloco": "<id_bloco>"
    },
    "name": "mc_obter_modelo"
  }
}

Input Schema

NameRequiredDescriptionDefault
id_blocoYesID do bloco: 'auth-rbac' (Login com Admin separado), 'admin-kpis' (Dashboard Executivo), 'safe-modal-toast' (Janela Modal Blindada) ou 'auto-update-banner' (Aviso de Nova Versão sem Ctrl+F5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that the output is complete canonical source code plus specifications (warning of a potentially large payload), which is useful, but it omits any statement about read-only nature, permissions, output format, or whether the result is cached or versioned.

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?

One sentence, front-loaded with the deliverable ('código-fonte canônico completo') and closed with the scoping identifiers. No redundant or filler wording.

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 single-parameter read tool with full schema coverage, the description conveys what is returned (full source plus specs) in the absence of an output schema. It is nearly complete; only the output shape/format and error behavior for an invalid block ID remain unaddressed.

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% and the single parameter already enumerates all four block IDs with parenthetical explanations. The description merely repeats the same four identifiers, adding no syntax, format, or fallback guidance beyond the schema, so the baseline of 3 applies.

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 ('Entrega') and a precise resource ('código-fonte canônico completo e especificações de um Super-Bloco Estrutural'), plus the concrete universe of blocks it covers. The word 'completo' implicitly contrasts with sibling tools like mc_obter_esqueleto and mc_obter_resumo, but no sibling is named explicitly, so differentiation relies on inference.

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?

The definition implies usage by listing the four valid block IDs, signaling it is the tool for retrieving a full block implementation. However, it never states when to choose it over mc_obter_esqueleto, mc_obter_resumo or mc_obter_checklist, and provides no preconditions or exclusions.

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