Skip to main content
Glama

Fetch MeteoSwiss page

fetch
Read-only

Fetch full content from a MeteoSwiss webpage and convert to markdown or plain text. Use the search tool first to discover valid page URLs, then pass the full URL as the id parameter.

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": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of a MeteoSwiss page to fetch. For this server the id is a full URL returned by the search tool. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html
formatNoThe output format for the contentmarkdown
includeMetadataNoWhether to include metadata in the response

Output Schema

NameRequiredDescriptionDefault
idYesThe id the content was fetched for (the page URL)
urlYesCanonical URL field (matches ChatGPT Deep Research spec). For this server `url === id`.
textYesCanonical body field (matches ChatGPT Deep Research spec)
titleNoPage title
formatYesFormat of `text`
metadataNoPage metadata (present when includeMetadata is true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / maxLength
      Added value: +2048
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "format": {
      +      "description": "Format of `text`",
      +      "enum": [
      +        "markdown",
      +        "text"
      +      ],
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "The id the content was fetched for (the page URL)",
      +      "type": "string"
      +    },
      +    "metadata": {
      +      "additionalProperties": false,
      +      "description": "Page metadata (present when includeMetadata is true)",
      +      "properties": {
      +        "contentType": {
      +          "type": "string"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "keywords": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "language": {
      +          "type": "string"
      +        },
      +        "lastModified": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "text": {
      +      "description": "Canonical body field (matches ChatGPT Deep Research spec)",
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "Page title",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Canonical URL field (matches ChatGPT Deep Research spec). For this server `url === id`.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "text",
      +    "format",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "Identifier of a MeteoSwiss page to fetch. For this server the id is a full URL returned by the search tool. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / url
      Removed value: -{
      -  "description": "Full URL of a MeteoSwiss page to fetch. Use the search tool first to discover valid URLs. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "url"
      -]New value: +[
      +  "id"
      +]
  3. Changed3 schema fields changed
    • removedInput schema / properties / id
      Removed value: -{
      -  "description": "Full URL of a MeteoSwiss page to fetch. Use the search tool first to discover valid URLs. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Full URL of a MeteoSwiss page to fetch. Use the search tool first to discover valid URLs. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "url"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The content ID or path to fetch"New value: +"Full URL of a MeteoSwiss page to fetch. Use the search tool first to discover valid URLs. Example: https://www.meteoschweiz.admin.ch/klima/klimawandel/steigende-temperaturen.html"
  5. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, and non-destructive behavior, so the lower bar is met. The description adds useful context that this retrieves full webpage content and converts it to markdown or text, plus the prerequisite that the URL should come from search.

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?

The description is two sentences, front-loads the main action and conversion behavior, and then gives the ordering constraint. There is no unnecessary wording.

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 fetch tool with an output schema and fully documented parameters, the description covers purpose, format conversion, and the key discovery-to-fetch workflow. Minor operational details such as failure behavior are omitted but not essential given the structured fields.

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 100%, so the schema already documents the id, format enum, and includeMetadata parameters. The description repeats that id is a full URL returned by search, matching the schema, but adds no new parameter meaning beyond it.

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 states a specific verb and resource: fetching full content from a MeteoSwiss webpage and converting it to markdown or plain text. It distinguishes this content-fetching role from the search tool and implicitly from the structured weather-data siblings by specifying webpage content.

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

Usage Guidelines4/5

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

It gives clear workflow guidance: use the search tool first to discover valid page URLs, then pass the full URL as the id parameter. It does not explicitly state when not to use this tool, but the key prerequisite and alternative to direct use are named.

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.