Skip to main content
Glama

Answer a plan

vote_plan
Idempotent

Answer a plan for the person: yes, maybe or no, and which options work. Only with their own answer: ask first. It's a card they tap in Hem.

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": {
      "planId": "<planId>",
      "rsvp": "<rsvp>"
    },
    "name": "vote_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
rsvpYes
planIdYes
optionIdsNoEvery option id that works for them. Not for no, one option, or a decided plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / optionIds / description
      Previous value: -"Option ids from get_plan that work for the person (all that work, not just one). Not needed for 'no', or when the plan has one option or is already decided."New value: +"Every option id that works for them. Not for no, one option, or a decided plan."
    • removedInput schema / properties / rsvp / description
      Removed value: -"yes = coming, maybe, no = can't."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "decided": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "itemId": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "leader": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "optionIds": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "planId": {
      -      "type": "string"
      -    },
      -    "rsvp": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "enum": [
      -        "answered",
      -        "draft"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "planId",
      -    "rsvp",
      -    "optionIds",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, closed-world write, so the safety profile is covered. The description adds the important behavioral constraint that the answer must come from the person, not be assumed, which is not in any structured field. It doesn't say what a successful answer changes (e.g., whether it can be re-answered).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the consent rule are front-loaded and brief, with no filler sentences. However, the fragments are choppy and 'It's a card they tap in Hem.' is cryptic code-speak whose operational value is unclear, slightly undercutting clarity per word.

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 3-parameter write tool with no output schema, the description covers the answer semantics and the consent precondition, and annotations carry idempotency/destructive behavior. What's missing is how to obtain planId and what state changes or errors to expect (e.g., answering a decided plan), which leaves the definition only minimally complete.

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 only 33% (only optionIds is documented), so the description must compensate: it explains that rsvp takes yes/maybe/no and that option ids are 'which options work', which mirrors the schema. planId is never explained — where it comes from (read_plan, list_upcoming) is left to inference — so the coverage gap is only partially filled.

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 gives a specific verb and resource ('Answer a plan') plus the exact answer domain ('yes, maybe or no, and which options work'), which is enough to distinguish it from create_plan and the sibling rsvp_event. It stops short of explicitly naming the closest sibling, but the purpose is unambiguous.

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 states a firm precondition — 'Only with their own answer: ask first' — which tells the agent not to infer or fabricate an RSVP, a real usage rule beyond the schema. It does not cover when to prefer vote_plan over rsvp_event, or what to do when the plan is already decided (that constraint appears only in the optionIds schema).

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.