Skip to main content
Glama
InditexTech

MCP Microsoft Teams Server

by InditexTech

get_member_by_name

Retrieve a Microsoft Teams member's information by specifying their name.

Instructions

Get a member by its name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesMember name

Implementation Reference

  • MCP tool handler that delegates to TeamsClient.get_member_by_name
    @mcp.tool(name="get_member_by_name", description="Get a member by its name")
    async def get_member_by_name(
        ctx: Context, name: str = Field(description="Member name")
    ):
        await ctx.debug(f"get_member_by_name with name={name}")
        client = _get_teams_client(ctx)
        return await client.get_member_by_name(name)
  • TeamsClient method that lists all members and filters by name
    async def get_member_by_name(self, name: str) -> TeamsMember | None:
        members = await self.list_members()
        for member in members:
            if member.name == name:
                return member
        return None
  • Registration of the tool via FastMCP @mcp.tool decorator
    @mcp.tool(name="get_member_by_name", description="Get a member by its name")
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only says 'Get a member,' which implies a read operation, but does not confirm idempotency, error behavior (e.g., if member not found), or any side effects. This lacks sufficient transparency.

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 description is a single sentence, which is concise, but it does not earn its place fully because it omits important details that could be conveyed in similar length. It is not verbose, but it is also not optimally informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is too minimal for a tool with no output schema and no annotations. While the input schema is simple, the description should at least hint at the return value or error conditions. It is incomplete for a production-level tool.

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 100%, and the parameter 'name' has a brief schema description ('Member name'). The tool description does not add any additional meaning beyond this, so a baseline score of 3 is appropriate.

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 explicitly states 'Get a member by its name,' clearly indicating the action (get) and resource (member). This distinguishes it from siblings like list_members (which lists all members) and thread-related tools.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. It does not mention when not to use it, such as when needing to list all members or when the name might be unknown. Sibling tools exist (list_members) but no differentiation is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/InditexTech/mcp-teams-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server