Skip to main content
Glama

Get a Microsoft subscription, or search them

eurodns_microsoft_get_subscription
Read-onlyIdempotent

Retrieves Microsoft 365 subscription details by ID, or lists subscriptions filtered by status, domain, or account label. Supports pagination and sorting for lookup.

Instructions

Returns one Microsoft 365 subscription with its status, Microsoft domain and term by id, or searches the account’s Microsoft subscriptions by status, domain and account label when id is omitted. This reads the subscription record only — nothing here manages the tenant; every product at once is eurodns_subscription_search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoNumeric id of the Microsoft subscription to return. Omit it to search them by status, Microsoft domain and account label.
pageNo1-based page number. There is no page meaning everything: walk pages until a short one comes back.
sizeNoResults per page, 1 to 500. A wide page is truncated by the character limit, so prefer a filter to a large size.
sortFieldNoResult field to sort on, spelled as in the response items. Unsorted when omitted.
sortOrderNoASC or DESC; only read with sortField.
accountLabelNoThe account label the microsoft subscription(s) you search for are related to
microsoftDomainNoThe domain name the microsoft subscription(s) you search for are related to
subscriptionStatusNoKeep only subscriptions in this lifecycle status, e.g. ACTIVE, TO_RENEW or PROVISIONING. Omit for every status.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesResponse body as returned by the API.
statusYesUpstream HTTP status code.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed9 schema fields changedv0.10.0
    • addedInput schema / properties / accountLabel
      Added value: +{
      +  "description": "The account label the microsoft subscription(s) you search for are related to",
      +  "type": "string"
      +}
    • addedInput schema / properties / id / description
      Added value: +"Numeric id of the Microsoft subscription to return. Omit it to search them by status, Microsoft domain and account label."
    • addedInput schema / properties / microsoftDomain
      Added value: +{
      +  "description": "The domain name the microsoft subscription(s) you search for are related to",
      +  "type": "string"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "1-based page number. There is no page meaning everything: walk pages until a short one comes back.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / size
      Added value: +{
      +  "description": "Results per page, 1 to 500. A wide page is truncated by the character limit, so prefer a filter to a large size.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / sortField
      Added value: +{
      +  "description": "Result field to sort on, spelled as in the response items. Unsorted when omitted.",
      +  "type": "string"
      +}
    • addedInput schema / properties / sortOrder
      Added value: +{
      +  "description": "ASC or DESC; only read with sortField.",
      +  "enum": [
      +    "ASC",
      +    "DESC"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / subscriptionStatus
      Added value: +{
      +  "description": "Keep only subscriptions in this lifecycle status, e.g. ACTIVE, TO_RENEW or PROVISIONING. Omit for every status.",
      +  "enum": [
      +    "ACTIVE",
      +    "TO_RESTORE",
      +    "TO_RENEW",
      +    "TO_DELETE",
      +    "PENDING_RENEW",
      +    "PENDING_RENEW_DOWNGRABLE",
      +    "UPGRADE_QUANTITY",
      +    "PENDING_UPGRADE_PRODUCT",
      +    "HOLD",
      +    "PENDING_DOWNGRADE_PRODUCT",
      +    "MIGRATED",
      +    "PENDING_REACTIVATE",
      +    "PROVISIONING"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "id"
      -]
  2. First observedv0.9.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already carry read-only, idempotent, open-world, and non-destructive safety, and the description reinforces that with 'reads the subscription record only — nothing here manages the tenant'. It adds useful behavioral context: using it is non-managing, and it exposes the tenant boundary. It doesn't mention pagination, but that behavior is already described inside the page/size parameters.

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 sentences, no filler, with the primary return semantics first and the alternative search mode second. The one-sentence sibling pointer is efficient. It packs a lot of meaning without bloating, though it could have been even shorter by omitting the parenthetical account-label phrase inside the first sentence, since the parameter schema already says it.

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?

For an 8-parameter, 0-required, read-only tool with an output schema and 100% schema parameter coverage, the description is complete. It explains the get-vs-search behavior, names the all-products sibling, and confirms the read-only/non-tenant-managing nature. Nothing an agent needs to choose or call 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 schema already documents all 8 parameters. The description does not repeat parameter docs, which is correct. It adds meaning by explaining the id-omitted search semantics and reinforcing that sortField is spelled as in response items, when/where that matters. The description also clarifies the overall mode switch that gives meaning to id vs. filters.

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 names a specific verb (returns one subscription or searches them) and resource (Microsoft 365 subscriptions), lists the identity/status/domain/term fields, and distinguishes it from eurodns_subscription_search. It also notes that the sibling covers every product at once, so an agent can tell this from eurodns_email_get_subscription and eurodns_ssl_get_subscription too.

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?

It explicitly says searches by status, domain and account label when id is omitted, which is exactly the mode-switch an agent needs to decide between a single-object get and a search. It differentiates from eurodns_subscription_search by saying 'every product at once is eurodns_subscription_search'. It does not list the other per-product getters by name, but the schema params are Microsoft-specific, so the sibling list plus the phrase 'Microsoft subscription' gives enough route.

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

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/JigSawFr/eurodns-mcp'

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