Skip to main content
Glama

graph-request

Execute raw Microsoft Graph API requests to access Microsoft 365 services. Target specific accounts without switching, supporting any endpoint with custom parameters.

Instructions

Execute a raw Microsoft Graph API request. Supports any Graph API endpoint. Can target specific account without switching.

Documentation:

  • Graph API Reference: https://learn.microsoft.com/en-us/graph/api/overview

  • Common endpoints: /me, /users, /groups, /me/messages, /me/calendar/events, /me/drive

  • OData query params: $select, $filter, $top, $orderby, $expand, $count, $search

  • Permissions reference: https://learn.microsoft.com/en-us/graph/permissions-reference

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpointYesThe Graph API endpoint path (e.g., "/me", "/users", "/me/messages")
methodNoHTTP methodGET
bodyNoRequest body for POST/PUT/PATCH requests (JSON object)
queryParamsNoQuery parameters (e.g., {"$select": "displayName", "$top": "10"})
headersNoAdditional headers to include
apiVersionNoGraph API versionv1.0
accountIdNoTarget a specific account by ID without switching. Use list-accounts to see available IDs.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the ability to target specific accounts without switching (which is useful context), but doesn't address critical behavioral aspects like authentication requirements, rate limits, error handling, or what happens with destructive operations (DELETE/PATCH/PUT). For a raw API tool with 7 parameters and no annotations, this leaves significant gaps in understanding the tool's behavior.

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?

The description is well-structured with a clear purpose statement upfront followed by organized documentation sections. While comprehensive, some information (like the permissions reference link) might be more appropriate in annotations rather than the description. Most sentences earn their place by providing actionable guidance.

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

Completeness3/5

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

Given the tool's complexity (7 parameters, no annotations, no output schema), the description provides good basic context but has significant gaps. It explains what the tool does and provides documentation links, but doesn't address authentication requirements, response formats, error handling, or the implications of different HTTP methods. For a raw API execution tool, this leaves the agent without crucial operational knowledge.

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 description coverage is 100%, so the schema already documents all 7 parameters thoroughly. The description adds some value by providing examples of common endpoints and OData query parameters, but doesn't significantly enhance the parameter understanding beyond what's in the schema. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 'Execute a raw Microsoft Graph API request' which provides a specific verb ('Execute') and resource ('Microsoft Graph API request'). It clearly distinguishes this from sibling tools like list-accounts or login by describing its unique capability to make direct API calls rather than managing authentication or accounts.

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?

The description provides explicit guidance on when to use this tool: 'Supports any Graph API endpoint' and 'Can target specific account without switching.' It also references the sibling tool 'list-accounts' for obtaining account IDs, creating clear alternatives and prerequisites. The documentation links further clarify appropriate usage contexts.

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/ForITLLC/forit-microsoft-graph'

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