audit_logs
Lists audit logs for a workspace
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Entries to skip. Default: 0 | |
| limit | No | Max entries to return. Default: 25 | |
| target | No | ||
| target_type | No | ||
| workspace_id | Yes |
Lists audit logs for a workspace
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Entries to skip. Default: 0 | |
| limit | No | Max entries to return. Default: 25 | |
| target | No | ||
| target_type | No | ||
| workspace_id | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds nothing beyond the workspace scope — no mention of pagination defaults, ordering (newest first?), or how target/target_type filtering behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with zero filler, which is structurally clean. It is arguably too terse for a five-parameter tool, but no wording is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a paginated read tool with five parameters, a 40% schema coverage gap and no output schema, the description should explain the filter semantics and result ordering. As written, an agent must guess how target/target_type combine and what the returned log entries look like.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 40%: skip and limit are documented in the schema, but target, target_type (a 15-value enum) and workspace_id have no descriptions anywhere. The one-line description does nothing to compensate, leaving the meaning of the filter pair and the enum values unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource ("Lists audit logs") and scopes it to a workspace, so an agent knows exactly what the tool returns. It does not differentiate from siblings, though none of the listed siblings appear to be audit-log tools, so the risk of confusion is low.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied by the word "Lists" and the workspace scoping; there is no explicit statement of when to reach for this tool versus things like get_workspace_settings or the list_* siblings. No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.