Skip to main content
Glama

getPublicSpecification

Read-onlyIdempotent

Fetch one public template at a pinned version. For example, pass {"path":{"id":"business-automation"},"query":{"version":1}}. Use a saved slug or ID and version from the same searchPublicSpecifications item. Only the currently published revision is available. A 404 calls for a new search. If a saved digest differs, stop and review the change before adopting the template.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": {
        "id": "business-automation"
      },
      "query": {
        "version": 1
      }
    },
    "name": "getPublicSpecification"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesIdentifies the public template to retrieve.
queryYesPins the lookup to one published version.

Output Schema

NameRequiredDescriptionDefault
dataYesThe published result on success, or the upstream error payload.
httpStatusYesUpstream HTTP status. A failed read also sets isError on the MCP result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "path": {
      +      "id": "business-automation"
      +    },
      +    "query": {
      +      "version": 1
      +    }
      +  }
      +]
  2. Changed5 schema fields changed
    • addedInput schema / properties / path / description
      Added value: +"Identifies the public template to retrieve."
    • addedInput schema / properties / path / properties / id / description
      Added value: +"A public template ID (rt_…) or slug such as business-automation. Both identify a template directly."
    • addedInput schema / properties / query / description
      Added value: +"Pins the lookup to one published version."
    • addedInput schema / properties / query / properties / version / description
      Added value: +"Positive integer from the selected item or a saved version pin. An unavailable revision returns HTTP 404."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "if": {
      +    "properties": {
      +      "httpStatus": {
      +        "maximum": 299
      +      }
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "description": "The published result on success, or the upstream error payload."
      +    },
      +    "httpStatus": {
      +      "description": "Upstream HTTP status. A failed read also sets isError on the MCP result.",
      +      "maximum": 599,
      +      "minimum": 200,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "httpStatus",
      +    "data"
      +  ],
      +  "then": {
      +    "properties": {
      +      "data": {
      +        "properties": {
      +          "digest": {
      +            "description": "Digest of the selected template revision.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Stable public template identifier.",
      +            "type": "string"
      +          },
      +          "slug": {
      +            "description": "Human-readable identifier accepted for direct reads.",
      +            "type": "string"
      +          },
      +          "template": {
      +            "description": "Published template, including scope and review criteria.",
      +            "type": "object"
      +          },
      +          "version": {
      +            "description": "Published revision.",
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "slug",
      +          "version",
      +          "digest",
      +          "template"
      +        ],
      +        "type": "object"
      +      }
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description adds real behavior: freshness is limited to the published revision, missing revisions surface as 404, and callers should compare a digest before adopting. The only soft spot is that 'a saved digest' is never grounded — it's implied to come from the search item or response rather than stated.

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?

It is front-loaded with purpose, then example, then provenance, then failure and freshness rules — every sentence is functional and there is no filler. The closing digest sentence is dense and slightly under-explained relative to the rest, which keeps it just below a 5.

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?

With an output schema present, return values need no explanation, and the description instead covers the aspects the schema cannot: freshness constraints, the 404 path, and a digest review step. What remains missing is a definition of where the digest comes from and whether non-404 errors have distinct handling.

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

Parameters4/5

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

Schema description coverage is 100% and both nested objects are documented, so the baseline is 3. The description goes beyond that by supplying a concrete example payload and clarifying that a slug or rt_ ID both identify the template directly, which disambiguates the two accepted ID forms in practice.

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?

The description opens with a specific verb and resource: 'Fetch one public template at a pinned version.' The scope ('one', 'pinned version', 'public') makes it immediately distinguishable from the sibling searchPublicSpecifications, which is named explicitly as the source of IDs and versions.

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?

It states where the inputs must come from ('a saved slug or ID and version from the same searchPublicSpecifications item') and gives explicit branching guidance: only the currently published revision is available, and a 404 means to run a new search. The digest-mismatch instruction adds a clear stop-and-review rule for the adoption workflow.

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.