Skip to main content
Glama

Create neme.json

neme_init
Idempotent

Creates a neme.json manifest from the project folder name only when none exists; edit it, then call neme_publish to publish the game. Fails if the file already exists.

Instructions

Create neme.json in a project folder, filled in from the folder's name (slug, title, empty description and tags, and dir: "dist" if that folder exists, otherwise "."). Use it once, for a project that has no neme.json; then edit the file and call neme_publish. Writes that one file and nothing else: no network, no token. Never overwrites: if neme.json is already there it fails and changes nothing. Returns one line naming the file it wrote.

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

Input Schema

NameRequiredDescriptionDefault
dirNoThe folder to create neme.json in. Absolute, or relative to the folder this server was started in. Default: that folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / properties / dir / description
      Previous value: -"Project folder. Default: the current folder."New value: +"The folder to create neme.json in. Absolute, or relative to the folder this server was started in. Default: that folder."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, openWorldHint=false, destructiveHint=false, idempotentHint=true), but the description adds real operational detail: it writes exactly one file, performs no network or token work, and refuses to overwrite rather than clobbering. It also states the return shape (one line naming the written file). The only mild gap is that the no-overwrite failure isn't reconciled with idempotentHint=true, though the two are compatible since a repeat call leaves state unchanged.

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?

Four sentences, front-loaded with the action and the derived content, then usage, then behavioral guarantees, then return value. Every sentence carries distinct information; there is no restatement of the name or title.

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?

For a single-optional-parameter, non-destructive local file writer with no output schema, the description covers when to use it, what it writes, what it refuses to do, and what it returns. An agent has everything needed to call it correctly and to know what to do afterwards.

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% and the dir default is already documented, so the baseline is 3. The description goes further by explaining what the dir value drives — slug, title, empty description/tags, and the conditional dir: "dist" versus "." inside the generated file — which meaning the schema alone does not convey.

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 ("Create neme.json in a project folder") plus the exact content it derives from the folder name. It also implicitly separates itself from neme_publish by naming it as the next step, so an agent can pick between them without opening a schema.

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?

"Use it once, for a project that has no neme.json; then edit the file and call neme_publish" gives the use condition, the exclusion (projects that already have the file), and the follow-up tool to call. Nothing about when to reach for this versus a sibling is left to inference.

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