Skip to main content
Glama

Create a graph

create_memory

Create a new private graph that you own. From then on pass the RETURNED slug as memory: it can differ from the one you asked for (a law graph gets a random suffix). On slug_taken, retry with suggestion.

slug: 2-64 chars of a-z, 0-9, - and _, starting and ending with a letter
or digit, not all digits. domain (default general) picks the
extraction prompts and starting classes, fixed for life; jurisdiction is a
2-letter country code, law graphs only. organization: the slug of an
organisation you own or administer; omit for a personal graph. No tool
deletes a graph: a person does that in the web app.

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": {
      "name": "<name>",
      "slug": "<slug>"
    },
    "name": "create_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
slugYes
domainNo
descriptionNo
jurisdictionNo
organizationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses genuinely non-obvious behavior: the returned `slug` may differ from the requested one, law graphs get a random suffix, and on `slug_taken` the agent should retry with `suggestion`. It also flags two permanence constraints an agent cannot infer from structured data — `domain` is 'fixed for life' and there is no programmatic delete path — plus the permission requirement for `organization` (you must own or administer it).

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?

It is front-loaded with the highest-value fact (use the RETURNED slug, which may differ) before any parameter detail, which is exactly the right ordering. The inline slug grammar is dense but necessary given 0% schema coverage; a slight cost is the run-on paragraph that mixes error handling, validation rules, and permanence warnings without visual separation.

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 6-parameter creation tool with an output schema, the description supplies everything an agent needs to call it correctly and recover from the one predictable failure (`slug_taken`). Since return values are covered by the output schema, it need not explain response shape, and the one return detail that matters — that the returned slug is authoritative — is called out.

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?

With schema description coverage at 0%, the description carries the burden and largely does: it specifies the exact `slug` grammar (2-64 chars, allowed character class, start/end rules, not all digits), the `domain` enum's effect on extraction prompts and starting classes plus its default and immutability, `jurisdiction` as a 2-letter code limited to law graphs, and `organization` as an owned/administered slug versus personal. The gap is that `name` and `description` — including the required status of `name` — receive no explanation at all.

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?

The opening sentence gives a specific verb and resource ('Create a new private graph that you own') and immediately resolves the name/title mismatch by telling the agent the created object's slug is what gets passed as `memory`. It also states the ownership/visibility scope (private, you own it), which lets an agent distinguish this from listing or searching tools in the sibling set.

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

Usage Guidelines4/5

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

It routes the agent on the key branch: 'organization: the slug of an organisation you own or administer; omit for a personal graph,' and it explicitly forecloses the deletion use case ('No tool deletes a graph: a person does that in the web app'), which prevents a futile search for a delete sibling. It stops short of naming a tool to use instead when a graph already exists (e.g., list_my_memories to check), so it is clear context rather than full when/when-not routing.

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