Skip to main content
Glama

generation_record

Records a single generation occurrence independently of the saved output asset, letting agents log the prompt, provider, and references that produced a specific GravityPort asset.

Instructions

Record one generation occurrence independently from the deduplicated output asset. Use this when an agent knows that a specific generation produced a saved GravityPort asset.

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": {
      "outputAssetId": "<outputAssetId>"
    },
    "name": "generation_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
batchIdNo
evidenceNo
providerNo
createdAtNo
messageIdNo
referencesNo
userPromptNo
promptStatusNo
outputAssetIdYesExisting GravityPort asset produced by this generation.
captureChannelNo
conversationIdNo
effectivePromptNo
providerAssetIdNo
captureContextIdNoGravityPort/local observation context. This is not a provider generation-call ID. Several generations in one capture context are told apart by providerToolCallId.
verificationLevelNoEvidence level for this externally supplied record. provider_verified is reserved for trusted GravityPort provider integrations.
providerResponseIdNo
providerToolCallIdNoProvider/runtime tool-call identifier when observed.
providerGenerationCallIdNoProvider generation-call identifier only when actually supplied by the provider integration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.13
    • changedInput schema / properties / captureContextId / description
      Previous value: -"GravityPort/local observation context. This is not a provider generation-call ID."New value: +"GravityPort/local observation context. This is not a provider generation-call ID. Several generations in one capture context are told apart by providerToolCallId."
  2. First observedv0.3.11

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish that this is a non-destructive write with openWorldHint false. The description adds the important behavioral concept that the generation record is independent from the deduplicated output asset, which helps frame the operation. However, it does not disclose idempotency, duplicate-handling behavior, permissions, or what happens when a record with the same output asset already exists.

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?

The description is two sentences with no wasted wording, and the core action is front-loaded. The second sentence cleanly states the intended use case. It is appropriately sized as prose even though the overall definition is under-specified for the tool's complexity.

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?

This is a 19-parameter write tool with nested objects and low schema description coverage, yet the description explains only the high-level record action and one usage condition. It does not compensate for the large number of undocumented parameters or clarify operational behavior such as duplicates and required context. The annotations cover basic safety, but the definition remains far too thin for correct invocation in complex cases.

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

Parameters1/5

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

Schema description coverage is only 26% across 19 parameters, so the description carries a heavy burden to explain parameter meaning. It mentions only the saved GravityPort asset indirectly, which the schema already documents for outputAssetId. It adds no guidance for the many other fields such as evidence, verificationLevel, references, captureContextId, or the provider identifiers.

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 gives a specific verb and resource: record one generation occurrence independently from the deduplicated output asset. The second sentence narrows the situation to when an agent knows a specific generation produced a saved GravityPort asset. It does not explicitly contrast with generation_relation_record or generation_lineage, so it stops short of perfect sibling differentiation.

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 states a clear triggering condition: use this when the agent knows a specific generation produced a saved asset. There are no explicit exclusions or named alternatives, so the guidance is contextual rather than complete. An agent can determine the general use case but must infer when a different recording tool is more appropriate.

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