Skip to main content
Glama

List my companies

list_my_companies
Read-only

Lists the user's active companies (id, name, role). Pass the id as companyId; without it, the oldest active company is used.

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_my_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context on top: only *active* companies are returned, the response shape is enumerated, and there is an implicit default-company resolution rule ('the oldest active company is used'). It does not mention ordering of the full list or what happens with zero active companies.

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?

Two sentences, zero waste. The resource and return fields are front-loaded, and the usage hint plus default-resolution rule follow immediately.

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 and no output schema, the description carries the return-value burden and does it by naming the three fields. It is complete enough to call correctly, with only minor gaps around list ordering and empty-result behavior.

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?

Zero parameters, so the baseline is 4; the schema is trivially complete. The description usefully clarifies that the 'id' returned here is what other tools expect as companyId, which is meaning not present in any structured field.

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 ('Lists the user's active companies') and names the returned fields (id, name, role). The scope qualifier 'active' and 'my' (current user, no input params) make the behavior unambiguous, though it does not explicitly contrast itself with siblings like list_company_users or list_company_invites.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Goes beyond mere context by telling the agent how to consume the result: 'Pass the id as companyId,' which links this tool to downstream calls requiring a company scope. It also states the fallback when no companyId is supplied, so the agent understands this tool's role in the call sequence. No explicit when-not or named alternative, so not a 5.

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.