Skip to main content
Glama

pathrule_write_skill

Save a new skill at a workspace-relative path in the connected Pathrule workspace. Adds an item and changes nothing else.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesMarkdown body; inline skill primary.
pathNo/
titleYes
operation_idNoStable operation key for durable retries; otherwise use the HTTP Idempotency-Key header.
workspace_idNoOptional; defaults to the OAuth grant workspace. Cannot change its binding.
idempotency_keyNoLegacy operation_id alias.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, and idempotentHint=false. The description adds the useful clarification that this is purely additive ('Adds an item and changes nothing else'), consistent with destructiveHint=false. It does not cover what happens when a skill already exists at the path, auth requirements, or the retry/idempotency behavior that the schema hints at.

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 short sentences, front-loaded with the action and scope, with no 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?

For a 6-parameter write tool with no output schema, the description covers purpose and additive semantics but omits conflict/overwrite behavior at an existing path, error handling, and the idempotency/retry story implied by operation_id and idempotency_key. Adequate but with clear gaps.

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 67%, so the schema already documents body, operation_id, workspace_id, and idempotency_key. The description adds only the semantics of the path parameter as 'workspace-relative', and says nothing about title, body, or the idempotency/operation_id relationship. That matches the baseline for mid coverage.

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 (Save) and resource (a new skill) plus the scoping constraint that the path is workspace-relative in the connected Pathrule workspace. The resource noun distinguishes it from siblings like pathrule_write_memory and pathrule_write_rule. It does not explicitly contrast with pathrule_update_skill, but 'new' implies creation.

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?

No explicit when-to-use guidance and no named alternatives. The agent must infer that pathrule_update_skill is for existing skills and that this tool only creates new ones; the description never states that or any prerequisite.

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.