Skip to main content
Glama
mcpAD

mcpAD

Find Recently Modified

find_recently_modified
Read-only

Find Active Directory objects modified within a specified number of days, optionally filtered by object class or OU, to audit recent changes.

Instructions

Find objects whose whenChanged is within the last days days (default 7).

Useful for a "what changed recently in AD" audit. Pass object_class (e.g. "user", "group", "computer") to restrict to one object type, and base (a DN) to scope to an OU.

Input Schema

NameRequiredDescriptionDefault
baseNo
daysNo
limitNo
domainNo
object_classNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds the relevant behavioral detail that results are based on the AD `whenChanged` attribute and that the default lookback is 7 days.

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?

Front-loads the purpose, then gives the audit use case, then the key filtering parameters. Every sentence earns its place with no redundant restatement.

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?

Output schema exists, so return values need not be explained. The description is mostly complete for a read-only AD query, though it omits semantics for `limit` and `domain`.

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 0%, so the description must compensate. It explains `days`, `object_class`, and `base`, but leaves `limit` and `domain` undocumented in both schema and description.

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?

States a specific verb and resource: find objects whose whenChanged falls within the last `days` days. The `whenChanged` timestamp and AD audit framing clearly distinguish it from siblings such as find_recently_created.

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?

Explains the audit use case and how to restrict by `object_class` or scope by `base` DN. It does not explicitly contrast with find_recently_created or other search tools, but the usage context is clear.

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