Skip to main content
Glama

CodePress Sites

Get signed-in account

get_site_account_profile
Read-onlyIdempotent

Return the account identified by this connection's validated OAuth credentials. The opaque id remains stable across refresh/reconnect and display changes. Compact display metadata only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
emailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the credential-validation requirement, the id's stability across refresh/reconnect and display changes, and the fact that only compact display metadata is returned. That stability guarantee is not obtainable from annotations or schema.

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?

Three short sentences, each carrying distinct information: what is returned, the stability guarantee on the id, and the scope of the payload. Nothing is repeated from the title or annotations, and the core purpose is front-loaded.

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 parameters, rich annotations and an output schema, the description needs only to establish identity semantics and it does so, including the id-stability contract. The only minor gap is the absence of stated behavior on an unauthenticated or expired credential, which would tell an agent how to interpret a failure.

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?

There are zero parameters, so the baseline is 4 and no parameter explanation is needed. The description correctly spends no words on inputs and reinforces that the target account is derived from the connection rather than supplied by the caller.

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?

The description opens with a specific verb and resource: 'Return the account identified by this connection's validated OAuth credentials.' An agent immediately knows this is an identity/whoami call. It does not explicitly contrast with any sibling, but the resource is distinct from the migration, guest-site and app siblings, so discrimination is achievable from the purpose alone.

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 implied rather than stated: the mention of 'validated OAuth credentials' signals the auth precondition, and the narrow identity scope hints at when to reach for it. There is no explicit 'use this when X, use sibling Y instead' guidance or statement of when the call is inappropriate, leaving routing 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.