Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Green Box: close the poll early

greenbox_poll_close
Idempotent

Green Box: close poll. WHEN: David (or the poll's author) ends a poll before its 12 hours are up. AUTHOR ONLY. Results stay readable via greenbox_poll_results. Example: greenbox_poll_close {}

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": "greenbox_poll_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
poll_idNoOptional poll id. Default: the currently-open greenbox poll.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (idempotent, non-destructive, not read-only), the description discloses the authorization requirement and the post-close state ('results stay readable'), which an agent needs. It does not mention failure modes or what happens to pending votes, so it stops short of full disclosure.

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?

The WHEN, AUTHOR ONLY, and fallback-tool information are front-loaded in a few terse lines with no filler. 'Green Box: close poll' slightly repeats the title, but it costs almost nothing.

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

Completeness5/5

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

For a two-parameter, zero-required, non-destructive mutation with full schema coverage and no output schema, the definition covers authorization, default targeting, and result persistence — everything needed to invoke it correctly.

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 both parameters (key, poll_id) are documented with defaults, so the schema carries the weight. The example call 'greenbox_poll_close {}' usefully shows the zero-argument default path, but adds no new semantics beyond that.

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 names a specific verb and resource ('close poll') and immediately narrows the scope to an early termination ('before its 12 hours are up'), which tells an agent exactly which operation this is versus greenbox_poll_open or greenbox_poll_results.

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

Usage Guidelines5/5

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

It gives an explicit WHEN clause (author ends the poll early), an explicit permission constraint ('AUTHOR ONLY'), and routes the agent to greenbox_poll_results for reading outcomes, so both when to call and when not to call are covered.

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.