Skip to main content
Glama

Get current week

get_current_week
Read-only

Fetch the current meal-planning cycle: week status, candidate tallies, voter participation, selected recipes, and pending feedback. Use this first to see where voting or ordering stands.

Instructions

Where the cycle stands: latest week + status (voting/selected/ordered/done), candidates with tallies, who has/hasn't voted, selected recipes, pending_feedback. Call this first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
week_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
weekNo
votedNo
membersNo
selectedNo
candidatesNo
not_yet_votedNo
ballot_feedbackNo
pending_feedbackYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedOutput schema / properties / candidates / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "avg_rating": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "created_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "description": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "$ref": "#/properties/week/anyOf/0/properties/id"
      -        },
      -        "image_url": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "ingredients": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "additionalProperties": true,
      -                "properties": {
      -                  "name": {
      -                    "$ref": "#/properties/week/anyOf/0/properties/id"
      -                  },
      -                  "quantity": {
      -                    "description": "Free text, e.g. '2 lbs'",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "is_favorite": {
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "position": {
      -          "description": "1-based ballot number",
      -          "type": "number"
      -        },
      -        "ratings": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "additionalProperties": true,
      -                "properties": {
      -                  "comment": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "created_at": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "member": {
      -                    "$ref": "#/properties/week/anyOf/0/properties/id"
      -                  },
      -                  "rating": {
      -                    "description": "1-5",
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "rating",
      -                  "member"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "selected": {
      -          "type": "boolean"
      -        },
      -        "servings": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "source_url": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "steps": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "$ref": "#/properties/week/anyOf/0/properties/id"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "tags": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "$ref": "#/properties/week/anyOf/0/properties/id"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "title": {
      -          "$ref": "#/properties/week/anyOf/0/properties/id"
      -        },
      -        "vote_count": {
      -          "type": "number"
      -        },
      -        "voters": {
      -          "items": {
      -            "$ref": "#/properties/week/anyOf/0/properties/id"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "title",
      -        "position",
      -        "selected",
      -        "vote_count",
      -        "voters"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "admin_pick": {
      +          "description": "Selected even though the vote alone would not have picked it: chosen by an admin, or added off the ballot",
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "avg_rating": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "created_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "description": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "$ref": "#/properties/week/anyOf/0/properties/id"
      +        },
      +        "image_generated": {
      +          "description": "Photo was generated by Agent Chef, so it is safe to show publicly",
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "image_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "ingredients": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "name": {
      +                    "$ref": "#/properties/week/anyOf/0/properties/id"
      +                  },
      +                  "quantity": {
      +                    "description": "Free text, e.g. '2 lbs'",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "is_favorite": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "is_public": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "position": {
      +          "description": "1-based ballot number",
      +          "type": "number"
      +        },
      +        "public_url": {
      +          "description": "Indexable public page, when published",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "ratings": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "comment": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "created_at": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "member": {
      +                    "$ref": "#/properties/week/anyOf/0/properties/id"
      +                  },
      +                  "rating": {
      +                    "description": "1-5",
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "rating",
      +                  "member"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "selected": {
      +          "type": "boolean"
      +        },
      +        "servings": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "source_recipe_id": {
      +          "description": "Set when this is the household's copy of a Community recipe",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "source_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "steps": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/properties/week/anyOf/0/properties/id"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "tags": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/properties/week/anyOf/0/properties/id"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "title": {
      +          "$ref": "#/properties/week/anyOf/0/properties/id"
      +        },
      +        "vote_count": {
      +          "type": "number"
      +        },
      +        "voters": {
      +          "items": {
      +            "$ref": "#/properties/week/anyOf/0/properties/id"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "title",
      +        "position",
      +        "selected",
      +        "vote_count",
      +        "voters"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / week / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "created_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "voting",
      -          "selected",
      -          "ordered",
      -          "done"
      -        ],
      -        "type": "string"
      -      },
      -      "voting_closes_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "week_start": {
      -        "description": "YYYY-MM-DD",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "week_start",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "created_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "share_url": {
      +        "description": "Public page showing this week's winners",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "voting",
      +          "selected",
      +          "ordered",
      +          "done"
      +        ],
      +        "type": "string"
      +      },
      +      "voting_closes_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "week_start": {
      +        "description": "YYYY-MM-DD",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "week_start",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.1.0

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, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds that this is an aggregating snapshot spanning voting state, tallies, participation, and feedback, which is modest extra context, but says nothing about staleness, caching, or scoping limits.

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?

One tight sentence, front-loaded with the resource and followed by a dense payload list, with the ordering directive placed last for emphasis. The field enumeration partly duplicates the existing output schema, which is minor waste but not bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with an output schema, the return-value explanation is largely redundant and the annotations carry the safety story, so the description is close to sufficient. The unresolved gap is week_id: with 0% schema coverage, the description needed to define it and does not.

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

Parameters2/5

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

Schema description coverage is 0% for the single week_id parameter, and the description never mentions it. Saying 'latest week' weakly implies a default when no id is supplied, but an agent gets no explanation of what week_id accepts, whether omitting it is valid, or how it changes the result.

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 specific verb (get) and resource (current week) and enumerates the exact payload: week status, candidates with tallies, voter participation, selected recipes, pending feedback. This distinguishes it from siblings like get_past_votes and get_past_recipes, though it never names an alternative explicitly.

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?

'Call this first.' is an explicit, unambiguous sequencing directive that tells the agent when to reach for this tool relative to the rest of the workflow. It stops short of stating when NOT to use it or which sibling supersedes it for historical data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.