Skip to main content
Glama

Look Up Authoring Skill

lookup_authoring_skill
Read-only

Return the kernelcad-authoring skill — conventions for writing .kcad.ts scripts (API surface, parameters, evaluation contract, common pitfalls) — in sections.

Call with NO arguments first: you get the quick-start (units, axes, the return rule, the rules that prevent most failures, the intent → API routing table, the "Before you finish" checklist) and an index of every section with a one-line summary (under 17k chars). Then pull what you need: { section: "<id>" } returns one section (e.g. "top-level-functions", "materials", "dfm-gates-print-readiness"); { query: "fillet after subtract" } returns the best-matching sections. { section: "all" } returns the full ~140k-char skill (SKILL.md plus its reference files) — only if your client accepts large responses.

Clients that list resources can also read kernelcad://skills/authoring (the SKILL.md core).

OUTPUT: { uri, mimeType, mode, text, sections? } — mode is index | section | search | all | not-found. Lookup responses include kernelSource: the exact kernel package version/revision, composed runtime source hash, and version-pinned public authoring/API references.

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": "lookup_authoring_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoKeywords to search section titles and bodies (e.g. "sweep along helix").
topicNoAlias of section; also accepts a loose title such as 'materials' or 'cli commands'.
sectionNoSection id from the index (e.g. 'top-level-functions'), or 'all' for the full skill.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"Section id from the index (e.g. 'top-level-functions'), or 'all' for the full SKILL.md."New value: +"Section id from the index (e.g. 'top-level-functions'), or 'all' for the full skill."
  2. Changed1 schema field changed
    • removedOutput schema / properties
      Removed value: -{
      -  "mimeType": {
      -    "description": "MIME type of the returned body.",
      -    "type": "string"
      -  },
      -  "mode": {
      -    "description": "index | section | search | all | not-found.",
      -    "type": "string"
      -  },
      -  "sections": {
      -    "description": "Section ids returned in text (section and search modes).",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "text": {
      -    "description": "The index + quick-start, the requested section(s), or the full SKILL.md body.",
      -    "type": "string"
      -  },
      -  "uri": {
      -    "description": "The authoring-skill resource URI.",
      -    "type": "string"
      -  }
      -}
  3. Changed6 schema fields changed
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Keywords to search section titles and bodies (e.g. \"sweep along helix\").",
      +  "type": "string"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Section id from the index (e.g. 'top-level-functions'), or 'all' for the full SKILL.md.",
      +  "type": "string"
      +}
    • addedInput schema / properties / topic
      Added value: +{
      +  "description": "Alias of section; also accepts a loose title such as 'materials' or 'cli commands'.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / mode
      Added value: +{
      +  "description": "index | section | search | all | not-found.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections
      Added value: +{
      +  "description": "Section ids returned in text (section and search modes).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / text / description
      Previous value: -"The SKILL.md body."New value: +"The index + quick-start, the requested section(s), or the full SKILL.md body."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "mimeType": {
      +      "description": "MIME type of the returned body.",
      +      "type": "string"
      +    },
      +    "text": {
      +      "description": "The SKILL.md body.",
      +      "type": "string"
      +    },
      +    "uri": {
      +      "description": "The authoring-skill resource URI.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, and the description adds substantial context beyond that: response size budgets (~17k for the index, ~140k for 'all'), a client-capability caveat for large responses, the mode vocabulary, and the presence of kernelSource version pinning.

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?

Front-loaded with the primary call pattern, then the escalation path, then the output shape — a sensible order with little filler. It is dense with inline examples, which is justified for a lookup tool, though the long parenthetical enumerations could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite an output schema existing, the description still explains the mode enum and the kernelSource field, and it covers the size and client constraints that determine whether a call is safe. Nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an upgrade by supplying concrete section ids ('top-level-functions', 'materials', 'dfm-gates-print-readiness'), a realistic query example, and the 'all' sentinel. It does not clarify precedence when multiple of section/topic/query are supplied, which keeps it short of a 5.

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

Purpose5/5

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

States a specific verb and resource: returns the kernelcad-authoring skill (conventions for .kcad.ts scripts) in sections, and enumerates the content covered (API surface, parameters, evaluation contract, pitfalls). This clearly separates it from lookup_api, lookup_cookbook, and lookup_diagnostics, which cover different reference material.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit ordered workflow: call with no arguments first for the quick-start and index, then pull a single section, run a query, or request 'all' only if the client accepts large responses. It also names the resource-read alternative (kernelcad://skills/authoring) and the condition under which to use it.

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.