Skip to main content
Glama

See what's coming up

list_upcoming
Read-onlyIdempotent

"Vad händer i veckan?": everything coming up in time order, the calendar the app shows them: plans, events they signed up for or host, club sessions, the household's calendar, their places' dates, their own things. Each with their answer and whether it needs one. Not what comes from their notes or school.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_upcoming"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo1–30, default 14.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / days / description
      Previous value: -"How many days ahead, 1–30 (default 14), e.g. 7."New value: +"1–30, default 14."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "days": {
      -      "type": "number"
      -    },
      -    "items": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cancelled": {
      -            "type": "boolean"
      -          },
      -          "counts": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capacity": {
      -                    "type": "number"
      -                  },
      -                  "going": {
      -                    "type": "number"
      -                  },
      -                  "waitlist": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "going",
      -                  "waitlist",
      -                  "capacity"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "kind": {
      -            "enum": [
      -              "plan",
      -              "event",
      -              "hosting",
      -              "session",
      -              "household",
      -              "happening",
      -              "personal"
      -            ],
      -            "type": "string"
      -          },
      -          "myStatus": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "needsAnswer": {
      -            "type": "boolean"
      -          },
      -          "place": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "startsAt": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "title": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          },
      -          "whenText": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "where": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "id",
      -          "title",
      -          "startsAt",
      -          "whenText",
      -          "place",
      -          "myStatus",
      -          "needsAnswer",
      -          "where",
      -          "cancelled",
      -          "counts",
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "timeZone": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "days",
      -    "timeZone",
      -    "items",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / kind / enum
      Previous value: -[
      -  "plan",
      -  "event",
      -  "hosting",
      -  "session"
      -]New value: +[
      +  "plan",
      +  "event",
      +  "hosting",
      +  "session",
      +  "household",
      +  "happening",
      +  "personal"
      +]
  3. Added

TDQS

A3.9/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, closed-world), so the description's added value is scope and shape: results are returned in time order, each item carries the person's answer and whether an answer is still needed, and certain sources are excluded. That is genuine behavioral context beyond the structured fields. It could say more about volume/caps, since no output schema exists to explain the return payload.

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?

Front-loaded with the user's own question, then a compact enumeration of sources and a negative scope clause. The middle run of comma-separated sources ('their places' dates, their own things') is dense and slightly fragmentary, but no sentence is wasted.

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 one-parameter, read-only aggregation tool with no output schema, the description adequately covers inclusion, ordering, per-item answer state, and exclusions. Remaining gaps — result size limits and the exact item shape — are minor but real, since nothing else documents the return value.

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 100% and the single `days` parameter is fully documented with range and default, so the schema carries the semantics. The description alludes to a time window ('i veckan') but never connects it to the `days` parameter, so it adds no meaning beyond the schema — baseline 3.

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?

The description states a concrete resource — an aggregated, time-ordered list of everything coming up — and enumerates the constituent sources (plans, signed-up/hosted events, club sessions, household calendar, places' dates, own items). It also draws a boundary against other sources ('not what comes from their notes or school'). It stops short of naming which sibling tool to use for a single-source view (e.g. events, read_plan), so it is clear but not sibling-differentiated to the top level.

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?

The quoted user utterance 'Vad händer i veckan?' gives an explicit trigger context, and the closing clause states what is out of scope (notes, school). What's missing is routing guidance: nothing says to prefer this over `events` or `read_plan` when the user only wants one category.

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.