Skip to main content
Glama

path_compile

Compile a formal study path from a session spec by validating schema, edge closure, and required node gates, then automatically advance approved paths from C to D.

Instructions

编译正式路径:校验 schema / 边闭合 / 每节点有门 / 已有 C 段闸门,通过后自动 C→D。

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": {
      "session_id": "<session_id>",
      "spec": "<spec>"
    },
    "name": "path_compile"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
forceNo
session_idYes
skip_baselineNo
skip_researchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry the full load. It does disclose meaningful behavior beyond the name: a multi-step validation pipeline and an automatic side effect (state advance from C to D on success). However, it says nothing about what happens on validation failure, whether any state is mutated before validation, or how the bypass parameters (force, skip_baseline, skip_research) alter the safety profile.

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?

A single front-loaded sentence that enumerates checks compactly with no filler. It is dense and slightly jargon-laden, but every clause carries content.

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

Completeness2/5

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

For a complex tool with five parameters, a nested object, no annotations, and no output schema, the description is too thin. It omits failure behavior, the effect of the bypass flags, and any indication of what a successful compile produces, leaving the agent to guess at critical invocation details.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, including a nested 'spec' object, so the description is the only source of meaning. It hints that 'spec' carries a schema to validate, but gives no information about force, skip_baseline, skip_research, or session_id, leaving most of the interface undocumented.

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 verb and resource ('compile the formal path') and enumerates the concrete checks it performs (schema validation, edge closure, per-node gate, C-segment gate), so an agent knows what the operation does. It stops short of distinguishing itself from siblings such as plan_launch or gate_record, and the 'C→D' state transition is unexplained jargon.

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

Usage Guidelines2/5

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

There is no explicit statement of when to call this versus alternatives; the only usage signal is the implied 'call when ready to compile', inferred from '通过后自动 C→D'. No preconditions, no when-not-to-use, and no named alternative are given.

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