Skip to main content
Glama

Neurarch

Find layers

find_layers
Read-onlyIdempotent

Search layers by type, name regex, scope prefix or augmentation; optionally rank by params.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoe.g. "conv2d".
limitNoPage size.
scopeNoPrefix, e.g. "encoder.layer.3".
cursorNoPrevious nextCursor.
model_pathNoFile, zoo:<id>, hf:<org/name>
namePatternNoRegex on name.
augmentationNoe.g. "freeze".
model_sourceNoOptional: answer about model text passed inline (a .neurarch.json document or PyTorch source).
sortByParamsNoLargest first.
response_formatNoDefault concise.

Output Schema

NameRequiredDescriptionDefault
countYes
layersYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this as a read-only, idempotent, non-destructive search, so the description does not need to restate safety. It adds little behavioral context beyond the schema: it does not explain how multiple filters combine, what response_format changes, or how model_source's inline-document mode behaves. No contradiction with annotations.

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 compact sentence that front-loads the action and lists the filter dimensions without filler. Every clause carries information.

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 ten optional parameters and an output schema, the description is adequate but thin: it omits how filters compose, how pagination behaves, and what the inline model_source mode does. The output schema covers return values, but the invocation semantics for the many optional filters remain underspecified.

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 the schema already documents all ten parameters, establishing a baseline of 3. The description groups type, namePattern, scope, augmentation, and sortByParams into a readable search story, but adds no syntax, format, or interaction details beyond the schema.

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 and resource ('Search layers') and enumerates the filter dimensions (type, name regex, scope prefix, augmentation), which lets an agent distinguish it from the singular get_layer sibling. It does not explicitly contrast itself with find_models or layer_impact, so it falls short of full sibling differentiation.

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 phrase 'optionally rank by params' implies a usage mode for ordering results, but there is no explicit when-to-use or when-not-to-use guidance relative to alternatives such as get_layer or find_models. An agent can infer this is the bulk-search tool, but the definition leaves that inference to the reader.

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.