Skip to main content
Glama

Logout from Todo System

todo_logout
Idempotent

Logs out the current user from the todo system, ending their authenticated session and preventing further task access.

Instructions

Logout the current user from the todo system.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the agent knows this mutates session state and is safe to repeat. The description adds only 'current user' (the session being affected is the caller's own, not an arbitrary user). It does not say whether credentials/tokens are invalidated or whether subsequent tool calls will start failing, which is the main behavioral question for a logout.

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?

A single short sentence with the verb and scope front-loaded and no padding. It is nearly a restatement of the title, so it is efficient but adds little informational density.

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 zero-parameter, non-destructive, idempotent session action with full annotation coverage, nothing an agent needs in order to invoke it is missing. The only conceivable addition — post-logout auth consequences — is a nicety, not a requirement for calling it correctly.

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

Parameters4/5

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

Zero parameters and an empty schema, so the baseline is 4. The description correctly implies no target can be supplied — the current session is always the subject — which is consistent with the empty schema.

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 ('Logout') and the affected subject ('the current user from the todo system'), so the operation is unambiguous. It does not differentiate itself from the obvious counterpart (todo_login), but no sibling could be confused with it, so a 4 rather than 5.

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

Usage Guidelines3/5

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

The intent to end a session is self-evident from the verb, so usage is implied rather than stated. There is no note about prerequisites (must be logged in), no mention of what to do afterwards, and no comparison to any alternative. Adequate minimum, but nothing is spelled out.

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