Skip to main content
Glama
@dialgem/mcp

@dialgem/mcp

Official
by DialgemAI

Publish agent version

publish_agent_version

Freeze an agent's current draft as a numbered version so calls or phone numbers can pin to that exact configuration.

Instructions

Freeze the agent's current draft as a numbered version that a number or call can pin.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "publish_agent_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare that the operation is a non-read-only mutation that is non-destructive and closed-world. The description adds useful behavioral context by saying the draft is frozen into a numbered version, but it does not explain side effects such as whether the draft remains editable or how version numbers are assigned.

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 definition is a single front-loaded sentence with no wasted wording. It communicates the core action and the reason for the resulting version efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter mutation tool with annotations and no output schema, the description provides enough context to understand the core operation. It is only slightly incomplete in not describing edge behavior such as draft state after publication or version numbering details.

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?

The input schema has 100% description coverage and only one parameter, agent_id, so the schema already carries the parameter documentation. The description does not add meaning beyond the schema, which matches the baseline for high schema 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?

The description states a specific action on a specific resource: freezing the agent's current draft as a numbered version. It is clear what the tool does, though it does not explicitly contrast with sibling tools such as update_agent.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'that a number or call can pin,' which explains why one would publish a version. However, there is no explicit when-to-use guidance, prerequisites, or comparison to alternatives.

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