Skip to main content
Glama

CounselorDesk

Retrieve approved portal context

portal_context
Read-only

Retrieve only the current memory categories and counselor-approved artifacts allowed by a short-lived counselor grant. Available through REST, MCP, and A2A with a scoped live key.

Cost: about 25 credits (~$0.025) per call.

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": {
      "grant_id": "<grant_id>"
    },
    "name": "portal_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
grant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, and closed-world behavior, so the description's job is to add context — and it does: it discloses the authorization requirement (short-lived counselor grant), transport options (REST, MCP, A2A with a scoped live key), and a per-call cost of ~25 credits. It does not describe failure modes when a grant is expired, which is the main 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?

Two short sentences, front-loaded with the resource scope and followed by the operational facts an agent needs (transports, key type, cost). The transport enumeration is the least essential clause but is short and justified by the auth implications.

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 one-parameter read-only tool with no output schema, the definition covers what is returned, the access precondition, and the billing cost. The missing piece is grant acquisition/refresh, which an agent would need before it can actually call the tool successfully.

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

Parameters3/5

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

Schema coverage is 0% on the single grant_id parameter, so the description must carry the meaning — and it partially does by identifying the argument as a short-lived counselor grant that bounds what is returned. It omits any hint about how a grant_id is obtained or what happens when it lapses, so the schema's UUID pattern is the only format guidance.

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 (Retrieve) and a specific resource (current memory categories and counselor-approved artifacts), plus a scoping constraint (only what a short-lived counselor grant allows). It does not differentiate against any sibling tool by name, but the resource is distinctive enough to be recognizable.

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 prerequisite is implied rather than spelled out: the caller must already hold a 'short-lived counselor grant,' and the 'only' phrasing signals the tool will not return unapproved data. There is no explicit when-to-use/when-not guidance and no named alternative for fetching unapproved or broader memory data.

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