Skip to main content
Glama

get-template

Read-onlyIdempotent

Get template details by UUID (standard or uploaded PDF template).

Input Schema

NameRequiredDescriptionDefault
pathParamsYes

Output Schema

NameRequiredDescriptionDefault
dataNoA standard template (type template_nda, template_csa, etc.) or an uploaded PDF template (type uploaded_template). Uploaded templates have no standard_version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / data / description
      Added value: +"A standard template (type template_nda, template_csa, etc.) or an uploaded PDF template (type uploaded_template). Uploaded templates have no standard_version."
    • removedOutput schema / properties / data / items
      Removed value: -{
      -  "properties": {
      -    "attributes": {
      -      "properties": {
      -        "agreement_type": {
      -          "example": "nda",
      -          "type": "string"
      -        },
      -        "created_at": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "name": {
      -          "example": "Standard NDA",
      -          "type": "string"
      -        },
      -        "updated_at": {
      -          "format": "date-time",
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "id": {
      -      "format": "uuid",
      -      "type": "string"
      -    },
      -    "standard_version": {
      -      "example": "1.0",
      -      "type": "string"
      -    },
      -    "type": {
      -      "example": "template_nda",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "attributes": {
      +    "properties": {
      +      "agreement_type": {
      +        "example": "nda",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "created_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "name": {
      +        "example": "Standard NDA",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "updated_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "id": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "standard_version": {
      +    "example": "1.0",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "type": {
      +    "example": "template_nda",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "id",
      +  "type",
      +  "attributes"
      +]
    • addedOutput schema / properties / data / title
      Added value: +"Template"
    • changedOutput schema / properties / data / type
      Previous value: -"array"New value: +"object"
  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=true, idempotentHint=true, destructiveHint=false and closed-world, so safety and repeatability are covered. The description adds the scope note that the resource can be either a standard or an uploaded PDF template, but says nothing about missing/archived templates or permission requirements.

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?

One sentence, action and key identifier front-loaded, no filler. The parenthetical adds distinct information about template kinds without bloating the line.

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 read-only GET with an output schema already describing the return payload, the description covers what the tool fetches and the two template flavors. The remaining gap is sibling disambiguation against get-custom-template, which is minor given the UUID-keyed lookup.

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?

Only one parameter (pathParams.id) exists and schema coverage is 0%, so the description nominally must carry semantics. 'by UUID' essentially restates the schema's format:uuid and 'The UUID of the resource' rather than adding format examples or where to obtain the id.

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 concrete verb and resource ('Get template details') plus the identifier it takes (UUID). It implicitly separates itself from list-templates, but never names the close sibling get-custom-template, so an agent must infer the boundary between the two template types.

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 guidance on when to call this versus get-custom-template or list-templates, no prerequisite (where the UUID comes from), and no error/case guidance. The only usage hint is the parenthetical about standard vs uploaded PDF templates.

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.