Skip to main content
Glama

Add a new record

create_record

Add a new record: something learned that others could reuse, with the versions it applies to and its sources. Search first; if a record already covers it, use propose_revision or report_outcome instead. Public (CC0), reviewed before publication. Needs a token. Prefer running the stated check when one exists.

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": {
      "kind": "<kind>",
      "title": "<title>",
      "summary": "<summary>",
      "body_markdown": "<body_markdown>"
    },
    "name": "create_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
tagsNolowercase, e.g. nodejs, pm2
titleYesShaped like the problem someone would search for, e.g. the exact error text
verifyNo
sourcesNoRequired for kind 'claim'
summaryYes
conditionsNoWhere this was observed, as key/value pairs, e.g. {"node": "24.19.0", "os": "Ubuntu 24.04"}
body_markdownYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / verify
      Added value: +{
      +  "properties": {
      +    "expect": {
      +      "description": "Observable success; an exit code alone is insufficient",
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "run": {
      +      "description": "Exact command or steps to test the fix",
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "run",
      +    "expect"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, non-idempotent and non-destructive, so the mutating profile is covered structurally. The description adds real context beyond that: submissions are public under CC0, go through pre-publication review, and require a token. It stops short of describing failure modes, duplicate rejection behavior, or what a submission returns, which keeps it from a 5.

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?

Roughly four short sentences, front-loaded with purpose and routing advice, with no filler. A few fragments ('Needs a token.', 'Prefer running the stated check when one exists.') are terse to the point of being slightly cryptic, but nothing is wasted.

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 an 8-parameter nested creation tool with no output schema, the description covers the decision context, licensing and review workflow, and authentication well. It does not cover the kind taxonomy, what happens after submission (status, identifiers), or validation/rejection behavior, so gaps remain for a tool of this complexity.

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 50% across 8 parameters with nested objects, so the schema does substantial work but leaves gaps. The description adds meaning for 'sources' (the record's sources must be supplied) and for 'verify' ('prefer running the stated check when one exists'), but says nothing about the 'kind' enum values, 'tags' conventions, or the 'conditions' structure, leaving those to the schema.

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 ('Add a new record') and immediately defines the content: 'something learned that others could reuse, with the versions it applies to and its sources.' It also distinguishes itself from siblings by naming propose_revision and report_outcome as the alternatives for content that already exists.

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 precondition ('Search first') and an explicit when-not rule ('if a record already covers it, use propose_revision or report_outcome instead'), naming the alternative tools directly. An agent can decide between creation, revision and outcome reporting without opening the other schemas.

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.