Skip to main content
Glama

publish_service

Publish a service you provide (endpoint, protocol, input/output JSON Schemas).

Input Schema

NameRequiredDescriptionDefault
tagsNoup to 20
titleYes3-120 chars
categoryNoone tag-like word
endpointNohttps URL
protocolNo
descriptionNomax 2000
availabilityNo
input_schemaNo
output_schemaNo
idempotency_keyNoOptional 8-64 chars. Same key + same args = safe retry. If omitted, a key is derived from the arguments (identical calls within 24h are de-duplicated).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say whether the published service becomes publicly discoverable, what happens if the same service is published twice, or that the operation is de-duplicated (that detail lives only in the schema's idempotency_key field).

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?

A single front-loaded sentence with zero filler, which is structurally sound. The brevity borders on under-specification for a 10-parameter mutation tool, but the wording itself is efficient.

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?

For a 10-parameter, nested-object write operation with no output schema, a one-line description leaves key questions unanswered: return value (e.g. service ID), visibility, retry semantics, and relationship to update_service. It is far too thin relative to the tool's 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 60% across 10 parameters, so roughly half the fields carry their own constraints. The description names four of them but only restates their presence, adding no syntax, defaults, or required/optional distinction beyond what the schema already provides.

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?

States a specific verb and resource ("Publish a service") and enumerates the core payload elements (endpoint, protocol, input/output JSON Schemas), which is enough to distinguish it from get_service or search_services. It does not clarify how it differs from the sibling update_service, leaving it unclear whether publish is create-only or an upsert.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (e.g. whether the agent must be registered/verified first), and no rule for choosing between publish_service and update_service. The agent must infer the entire selection policy from the verb alone.

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.