Skip to main content
Glama

Outline a model

outline
Read-onlyIdempotent

The declarations of a model as a tree: packages, definitions, usages, requirements, states, each with its kind, qualified name, short name (id) and line. Use it to find what to edit.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe complete SysML v2 model text. The server keeps no state: pass the whole current text on every call, and after an edit use the text the edit returned.
languageNoThe notation of the text: "sysml" (default) or "kerml" for a KerML document (.kerml).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive, closed-world), so the bar is lower, and the description adds real value by enumerating what the returned tree contains — node kinds plus kind, qualified name, short name and line per node. That substitutes for the absent output schema. It does not discuss output size or depth for very large models, which is the main behavioral question left open.

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?

Two compact sentences: the first enumerates the return structure, the second gives the actionable purpose. The content is front-loaded and every clause carries information; there is no filler or restatement of the title.

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 read-only, two-parameter inspection tool with no output schema, the description does the important work of characterizing the returned tree, and the schema carries the stateless-text contract and language enum. The remaining gap is scale: with model text allowed up to 2M characters, an agent would benefit from knowing whether the tree is full or scoped, and roughly how large the output can get.

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 explains both parameters fully, including the statelessness contract for `text` and the sysml/kerml enum for `language`. The description adds nothing about parameters, which is acceptable at this coverage level but earns only the baseline 3.

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 states a concrete resource and return shape: a tree of packages, definitions, usages, requirements and states, each annotated with kind, qualified name, short name (id) and line. The verb is implicit in "Outline" / "The declarations of a model as a tree", but an agent can tell this is a structural browse/inspection operation rather than an edit or evaluation. It stops short of naming a sibling tool, so it lands at 4 rather than 5.

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?

"Use it to find what to edit" gives one implied usage context that points toward the edit sibling, which is genuinely helpful routing. There is no explicit when-not guidance (e.g. don't use it to validate or to query semantic relationships), and no statement about how it differs from query/evaluate. Usage is implied rather than spelled out.

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.

Resources