Skip to main content
Glama

List portal access

list_portal_access
Read-only

🔐 Lista os contatos que têm acesso ao portal do cliente nesta conta, com e-mail de login e quando entraram pela última vez (ultimo_login: null = nunca entrou). Sem target_user_id, lista a PRÓPRIA conta autenticada.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMáximo de registros (padrão 50).
target_user_idNoID da conta-alvo (opcional; APENAS o administrador da plataforma pode usar).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false, so the safety profile is covered. The description goes beyond them by disclosing what the payload contains (login e-mail, last access) and decoding the null case ('ultimo_login: null = nunca entrou'), which is real behavioral context an agent cannot get from the annotations.

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 compact sentence with the resource first, the return payload second, and the null-value clarification last — nothing redundant. The emoji prefix is cosmetic but does not consume much space.

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?

For a 2-parameter read tool with no output schema, the description covers what the tool lists, the scope default, and the meaning of the notable null field. Pagination and total-count behavior are left unstated, but that is a minor gap for a low-complexity list 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?

Schema coverage is 100%, so baseline is 3; the description earns an extra point by explaining the semantics of omitting target_user_id (falls back to the authenticated account), a behavior the schema does not state. The admin-only restriction is already in the schema and is not repeated here.

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 and resource ('Lista os contatos que têm acesso ao portal do cliente nesta conta') and previews the returned fields (login e-mail, last login). It is easily separable from create_portal_access/revoke_portal_access by the read verb, though it does not name those siblings explicitly.

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?

Adds one genuinely useful usage rule: without target_user_id it lists the caller's own authenticated account, which frames the default scope. However it never states when to prefer this over list_contacts or get_contact_360, nor any exclusions, leaving alternatives to inference.

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.

Resources