Skip to main content
Glama

token_status

Read-only

Checks Portflow login status: confirms automatic Canvas token renewal setup and expiry time, renewing the token first if it is about to expire.

Instructions

Check the Portflow login: whether automatic renewal (via a Canvas token) is set up, and when the current token expires. Renews the token first if it's about to expire and renewal is set up.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior2/5

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

The description is candid that the call conditionally renews the token first, which is genuinely useful context the annotations do not convey. However, that disclosure directly conflicts with readOnlyHint=true, which asserts the tool has no side effects; an agent trusting the annotation could treat this as a pure, freely repeatable read while it actually performs a token write. The definition is internally inconsistent about whether calling it mutates state.

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

Conciseness5/5

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

Two sentences with zero padding. The resource and scope are front-loaded, and the conditional side effect is stated in its own sentence so it is not buried. Nothing here is redundant with the name or annotations.

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?

With no output schema, the description carries the return-value burden and does it well by naming the two facts the caller receives. For a zero-parameter status tool this is nearly complete; it does not mention failure behavior (e.g., what is returned when not logged in or when renewal fails), which would matter for an open-world tool.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly adds no param discussion, and the schema is trivially complete.

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?

"Check the Portflow login" names a specific verb and resource, then enumerates exactly what is reported: whether automatic renewal via a Canvas token is configured and when the current token expires. That is far more specific than a tautology. It does not differentiate from siblings, but the sibling list (collections, evidence, goals) covers unrelated resources, so no differentiation is needed.

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?

Usage is only implied: an agent can infer this is the tool to call when it needs to verify session/auth state before other calls. There is no explicit "use this when…" guidance, no statement of prerequisites, and no boundary drawn against related operations. Adequate but not instructive.

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