Skip to main content
Glama

Neurarch

Get layer

get_layer
Read-onlyIdempotent

Everything about one layer by name: type, params, shapes, upstream and downstream.

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

Input Schema

NameRequiredDescriptionDefault
nameYesLayer name or id. Substring match if no exact hit.
model_pathNoFile, zoo:<id>, hf:<org/name>
model_sourceNoOptional: answer about model text passed inline (a .neurarch.json document or PyTorch source).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish that this is a safe, read-only, idempotent, non-destructive lookup. The description adds useful scope by listing the returned information (type, params, shapes, upstream/downstream), but it does not cover not-found behavior, traversal depth, or output structure.

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?

The description is a single front-loaded sentence with no wasted wording, and it lists the key returned facets efficiently. The phrase 'Everything about' is slightly vague, but overall it is well structured.

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 three-parameter, read-only lookup with full schema coverage and no output schema, the description adequately states what information is returned. It is less complete regarding how model_path and model_source affect the lookup and what happens when no layer matches.

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 all three parameters are already documented in the input schema. The description reinforces name-based lookup but adds no meaning beyond the schema for model_path or model_source.

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 specific resource (one layer) and enumerates the returned facets: type, params, shapes, and upstream/downstream relationships. It is clearly a detail-lookup tool, though it does not explicitly distinguish itself from siblings like find_layers or layer_impact.

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?

Usage is implied by 'one layer by name,' suggesting a known-layer detail lookup, and the schema clarifies substring matching. However, there is no explicit guidance on when to use this versus find_layers or layer_impact, nor any stated exclusions.

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.