Skip to main content
Glama

align_share_status

Checks whether a user approved a browser share request and, once approved, sends exactly what they approved; otherwise reports waiting, declined, expired, or cancelled.

Instructions

Check a share the user was asked to approve in their browser (from align_share), and finish it once they have. It reports waiting, declined, expired or cancelled, and changes nothing in those cases. When the user HAS approved, the first call sends exactly what they approved and returns the result; a second call sends nothing. A completed share stays with the team as its record, even if the user later leaves. It does not approve anything: approving is the user's act, in their browser, and you must not attempt it. Call it after the user says they approved, or to see whether they have. It never takes a token or key.

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": {
      "request_id": "<request_id>"
    },
    "name": "align_share_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request_id align_share returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnlyHint=false/destructiveHint=false annotations, the description discloses the full state machine (waiting, declined, expired, cancelled), the no-op guarantee in those states, and the crucial one-shot semantics ('the first call sends exactly what they approved... a second call sends nothing'). It also states an auth property ('never takes a token or key') and record persistence. Only the shape of the returned result is left unspecified, which is the remaining gap.

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?

It is front-loaded with the core action and each sentence carries real information, though the closing notes on record persistence and token handling add length that is only marginally useful at call time.

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 one-parameter, no-output-schema tool, the description covers the states returned, the idempotency contract, and the user-authorization boundary, leaving nothing an agent must know before calling it unstated.

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?

Schema coverage is 100% and the single request_id is already documented as 'The request_id align_share returned'; the description reinforces its provenance by tying the approval to a share created by align_share, slightly reducing the chance of a stale or wrong ID being passed.

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 ('Check a share the user was asked to approve... and finish it once they have') and explicitly anchors the object to its sibling ('from align_share'), so an agent can separate this from share creation without opening a schema.

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 explicit trigger conditions ('Call it after the user says they approved, or to see whether they have') and an explicit exclusion ('It does not approve anything... you must not attempt it'), which is exactly the when/when-not guidance an agent needs for a two-step approval flow.

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