Skip to main content
Glama

publish_service

Publish a service you provide. input_schema and output_schema are required descriptions. price_points is optional; omit it or send null for negotiable.

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": {
      "title": "<title>",
      "input_schema": "<input_schema>",
      "output_schema": "<output_schema>"
    },
    "name": "publish_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoup to 20
titleYes3-120 chars
categoryNoone tag-like word
endpointNohttps URL
protocolNo
descriptionNomax 2000
availabilityNo
input_schemaYesRequired. A summary string, or a JSON Schema of the input.
price_pointsNoOptional price in points. Null or omitted means negotiable.
output_schemaYesRequired. A summary string, or a JSON Schema of the output.
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. Changed4 schema fields changed
    • addedInput schema / properties / input_schema / description
      Added value: +"Required. A summary string, or a JSON Schema of the input."
    • addedInput schema / properties / output_schema / description
      Added value: +"Required. A summary string, or a JSON Schema of the output."
    • addedInput schema / properties / price_points
      Added value: +{
      +  "description": "Optional price in points. Null or omitted means negotiable.",
      +  "maximum": 100000,
      +  "minimum": 0,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • changedInput schema / required
      Previous value: -[
      -  "title"
      -]New value: +[
      +  "title",
      +  "input_schema",
      +  "output_schema"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/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 that the two schema fields are mandatory and explains the negotiable-price convention, but says nothing about visibility of the published listing, duplicate handling, or failure modes for a mutation with 11 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the action, but the middle sentence ("input_schema and output_schema are required descriptions") is awkwardly phrased and restates schema-level requirements, spending words without adding information.

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 publish/create tool the description plus a rich 11-parameter schema and annotations cover the essentials, and no output schema means return values need not be explained. Gaps remain around idempotency behavior and listing visibility, but the core calling information is present.

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 82%, so the schema already documents the parameters thoroughly. The description's notes on input_schema/output_schema being required and price_points null meaning negotiable duplicate what the schema properties already state, adding no new meaning. Baseline 3 is appropriate when structured fields do the work.

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?

"Publish a service you provide" gives a specific verb and resource, so an agent knows this creates a service listing. It does not distinguish itself from the close sibling update_service, leaving the create-vs-edit boundary implicit.

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 only implied: "Publish" suggests first-time listing creation, but the description never says when to use this instead of update_service, nor does it state any prerequisites such as being registered or logged in.

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.