Skip to main content
Glama

Samuelz® Communications

Get connected workspace and access context

get_context
Read-onlyIdempotent

Start here for workspace identity and access: view=identity returns tenantId/scopes/profile without a catalog, while view=discovery adds a timestamped capabilityCatalog. Use list_capabilities only for catalog-only inspection, or get_profile only for a profile-only reread; do not call all three for the same question. Provider connection IDs come from their service setup tool, not this context.

names and domain intersect within this fixed connection; names=[] selects none. detail=summary lists names/access; full adds descriptions/schemas. Empty filtered results do not prove absence, and discovery never makes undisclosed tools callable. Without view/filters, Business defaults to discovery; other profiles return tenantId/scopes only. Legacy catalog filters select combined discovery.

view=roles instead returns minimal live role keys/titles, requires existing work:read and Workspace authority, and accepts no catalog filters. Follow nextRoleKey as afterRoleKey while hasMore; position discovery grants no allocation authority. profile.id is opaque and workspace-bound. missingScopes/access.nextAction explain unmet prerequisites; every later action rechecks authority. No sign-in, tenant switch, permission grant or business mutation.

Input Schema

NameRequiredDescriptionDefault
viewNoidentity reads this workspace's current profile without loading a capability catalog; omit all catalog filters. discovery returns profile and catalog with the supplied filters. roles lists existing role keys/titles with current work:read and Workspace read authority; it returns neither profile nor catalog. Omit for Business discovery or the other profiles' legacy default.
limitNoroles only: page size, 1–100; omitted means 50.
namesNoExact capability names to inspect. Unknown or out-of-profile names add no capabilities. Omit for all matching tools; an empty array selects none.
detailNosummary (default) omits descriptions and schemas; full includes them, without making undisclosed tools callable.
domainNoFilter by catalog domain within this connection's published toolset; never changes workspace or expands access. Omit to include matching tools from all domains in this surface.
afterRoleKeyNoroles only: copy roleDirectory.pagination.nextRoleKey. Seek strictly after that existing workspace position; pages are live, not a frozen snapshot.

Output Schema

NameRequiredDescriptionDefault
scopesYes
profileNo
tenantIdYes
roleDirectoryNoExisting Work positions only. Keys/titles grant no allocation or management authority; no holders or policy contents are returned.
capabilityCatalogNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/closed-world, and the description adds substantial behavior beyond that: empty filtered results do not prove absence, discovery never makes undisclosed tools callable, roles requires existing work:read and Workspace authority, pages are live rather than frozen, and every later action rechecks authority. These are genuine operational caveats an agent could not infer from annotations. It stops just short of a 5 because the density makes some caveats easy to miss, but the substance is strong.

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

Conciseness3/5

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

The opening sentence is well front-loaded, but the body is dense run-on prose with abrupt paragraph breaks (the roles mode appears mid-stream in the third block) and fragments like 'names and domain intersect within this fixed connection' that lack a subject. Every sentence carries information, yet the packaging makes it harder to scan than it needs to be.

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?

This is a complex multi-mode tool with an output schema, and the description still covers mode selection, filtering interactions, paging, prerequisites, and negative behavior (no sign-in, no permission grant, no business mutation). With the schema and output schema carrying field/return detail, nothing an agent needs to invoke it correctly is missing.

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 the baseline is 3, but the description adds cross-parameter semantics the schema only implies: names and domain intersect within the fixed connection, names=[] selects none, legacy catalog filters select combined discovery, and afterRoleKey should follow nextRoleKey while hasMore. That is meaningful behavior beyond the per-field schema text, though a few points restate the schema rather than extend it.

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 states a specific verb+resource ('Start here for workspace identity and access') and then enumerates the three modes with exactly what each returns: view=identity returns tenantId/scopes/profile, discovery adds a timestamped capabilityCatalog, roles returns role keys/titles. It distinguishes itself from list_capabilities and get_profile by name, so an agent can tell the three apart 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?

Explicit routing guidance is given: 'Use list_capabilities only for catalog-only inspection, or get_profile only for a profile-only reread; do not call all three for the same question.' It also excludes itself where relevant ('Provider connection IDs come from their service setup tool, not this context') and states prerequisites for the roles mode. When-to-use, when-not-to-use, and named alternatives are all present.

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