Skip to main content
Glama

fetch

Read-onlyIdempotent

Fetch a public item by its exact stable identifier.

Input Schema

NameRequiredDescriptionDefault
idYes
localeNoMCP transport locale; not a service input field.de
idempotencyKeyNoTransport retry key, forwarded as Idempotency-Key.

Output Schema

NameRequiredDescriptionDefault
errorsYes
resultYes
successYes
messagesYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / id / description
      Removed value: -"Item id from search results"
    • addedInput schema / properties / id / maxLength
      Added value: +240
    • addedInput schema / properties / id / minLength
      Added value: +1
    • addedInput schema / properties / id / pattern
      Added value: +"^[a-zA-Z0-9][a-zA-Z0-9:_.-]*$"
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Transport retry key, forwarded as Idempotency-Key.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "default": "de",
      +  "description": "MCP transport locale; not a service input field.",
      +  "enum": [
      +    "de",
      +    "en",
      +    "es"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "errors": {
      +          "maxItems": 0
      +        },
      +        "result": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "content": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "body": {
      +                      "type": "string"
      +                    },
      +                    "bodyLocale": {
      +                      "type": "string"
      +                    },
      +                    "bodyPending": {
      +                      "type": "boolean"
      +                    },
      +                    "description": {
      +                      "type": "string"
      +                    },
      +                    "duration": {
      +                      "type": "string"
      +                    },
      +                    "level": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    },
      +                    "locale": {
      +                      "enum": [
      +                        "de",
      +                        "en",
      +                        "es"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "order": {
      +                      "type": "number"
      +                    },
      +                    "preview": {
      +                      "type": "boolean"
      +                    },
      +                    "slug": {
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "level",
      +                    "slug",
      +                    "locale",
      +                    "title",
      +                    "order",
      +                    "body"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "body": {
      +                      "type": "string"
      +                    },
      +                    "bodyLocale": {
      +                      "type": "string"
      +                    },
      +                    "bodyPending": {
      +                      "type": "boolean"
      +                    },
      +                    "category": {
      +                      "type": "string"
      +                    },
      +                    "description": {
      +                      "type": "string"
      +                    },
      +                    "duration": {
      +                      "type": "string"
      +                    },
      +                    "locale": {
      +                      "enum": [
      +                        "de",
      +                        "en",
      +                        "es"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "order": {
      +                      "type": "number"
      +                    },
      +                    "published": {
      +                      "type": "string"
      +                    },
      +                    "slug": {
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "type": "string"
      +                    },
      +                    "updated": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "locale",
      +                    "title",
      +                    "order",
      +                    "body"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "body": {
      +                      "type": "string"
      +                    },
      +                    "contentHash": {
      +                      "type": "string"
      +                    },
      +                    "meta": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "description": {
      +                          "type": "string"
      +                        },
      +                        "duration": {
      +                          "type": "string"
      +                        },
      +                        "order": {
      +                          "type": "number"
      +                        },
      +                        "phase": {
      +                          "maximum": 16,
      +                          "minimum": 1,
      +                          "type": "integer"
      +                        },
      +                        "published": {
      +                          "type": "string"
      +                        },
      +                        "slug": {
      +                          "type": "string"
      +                        },
      +                        "tags": {
      +                          "items": {
      +                            "type": "string"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "title": {
      +                          "type": "string"
      +                        },
      +                        "updated": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "slug",
      +                        "phase",
      +                        "order",
      +                        "title",
      +                        "description",
      +                        "duration"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "steps": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "body": {
      +                            "type": "string"
      +                          },
      +                          "index": {
      +                            "type": "number"
      +                          },
      +                          "title": {
      +                            "type": "string"
      +                          },
      +                          "validatorId": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "index",
      +                          "title",
      +                          "body"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "meta",
      +                    "body",
      +                    "steps",
      +                    "contentHash"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "body": {
      +                      "type": "string"
      +                    },
      +                    "conceptType": {
      +                      "enum": [
      +                        "config_file",
      +                        "pattern",
      +                        "tool",
      +                        "service",
      +                        "command",
      +                        "mcp_server",
      +                        "feature"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "slug": {
      +                      "type": "string"
      +                    },
      +                    "sourceUrl": {
      +                      "type": "string"
      +                    },
      +                    "summary": {
      +                      "type": "string"
      +                    },
      +                    "tags": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "conceptType",
      +                    "name",
      +                    "summary",
      +                    "body",
      +                    "tags"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "playbookId": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "text",
      +                    "playbookId"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "content_locale": {
      +              "enum": [
      +                "de",
      +                "en",
      +                "es"
      +              ],
      +              "type": "string"
      +            },
      +            "fallback": {
      +              "type": "boolean"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "requestedLocale": {
      +              "enum": [
      +                "de",
      +                "en",
      +                "es"
      +              ],
      +              "type": "string"
      +            },
      +            "status": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "draft",
      +                    "candidate",
      +                    "active",
      +                    "deprecated"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "updated": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "version": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "requestedLocale",
      +            "content_locale",
      +            "fallback",
      +            "version",
      +            "status",
      +            "updated",
      +            "content"
      +          ],
      +          "type": "object"
      +        },
      +        "success": {
      +          "const": true
      +        }
      +      }
      +    },
      +    {
      +      "properties": {
      +        "errors": {
      +          "minItems": 1
      +        },
      +        "result": {
      +          "type": "null"
      +        },
      +        "success": {
      +          "const": false
      +        }
      +      }
      +    }
      +  ],
      +  "properties": {
      +    "errors": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "code": {
      +            "type": "number"
      +          },
      +          "documentation_url": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "hint": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "message": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "slug": {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "slug",
      +          "message",
      +          "hint",
      +          "documentation_url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "messages": {
      +      "type": "array"
      +    },
      +    "request_id": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "result": {},
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "result",
      +    "errors",
      +    "messages",
      +    "request_id"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds two useful behavioral facts beyond that: the item is 'public' (no authorization scoping implied) and the identifier must match exactly (no fuzzy/partial resolution). It says nothing about not-found behavior or whether results are locale-dependent despite a locale parameter existing.

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 twelve-word sentence with no filler, and the key constraint ('exact stable identifier') is front-loaded. It is efficient, though its brevity is part of why other dimensions are thin rather than a virtue in itself.

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?

The output schema and annotations relieve the description of return-value and safety disclosure, but the core ambiguity remains: among 28 siblings the agent cannot tell what kind of 'item' this fetches or what distinguishes it from 'search'. For a nominally generic 'fetch' entry point, that is a material omission.

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 coverage is 67%, with locale and idempotencyKey self-documented as transport concerns, so the schema carries most of the load. The description only contributes the notion that 'id' is an 'exact stable identifier,' hinting at no partial matching, but it does not state format, where such IDs come from, or how locale affects the returned content. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource pairing is 'Fetch a public item by its exact stable identifier,' which tells the agent it is a single-record lookup keyed by ID. However, 'item' is never resolved into a concrete resource type, and nothing distinguishes it from the sibling 'search' tool or the academy_* family. An agent knows the shape of the operation but not the domain of the data.

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 explicit when-to-use or when-not-to-use statement and no named alternative. The phrase 'exact stable identifier' implicitly suggests it is a precision lookup rather than a discovery tool, but the agent must infer that 'search' is the counterpart for unknown IDs. No prerequisites or failure conditions are stated.

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.