Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Recycled Witness Statements

list_recycled_witness_statements
Read-onlyIdempotent

Retrieve recycled witness statements for a project or incident. Use this to locate deleted statements or obtain their IDs for other operations. Read-only; returns paginated results.

Instructions

Returns a list of Recycled Witness Statements for a given project (or Incident, if incident_id is present). Use this to discover recycled witness statements or to look up the id of one before calling a tool that needs it. project_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of recycled witness statements; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id. Procore API (v1.1): Project Management > Incidents. Endpoint: GET /rest/v1.1/projects/{project_id}/recycle_bin/incidents/witness_statements

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoQuery string parameter — page number for paginated results (default: 1)
sortNoQuery string parameter — sort order for results. Prefix with '-' for descending order
per_pageNoQuery string parameter — number of items per page (default: 100, max: 100)
project_idYesURL path parameter — unique identifier for the project.
incident_idNoQuery string parameter — incident ID. When provided, the list will be scoped to only the Recycled Witness Statements for a given Incident.
filters__queryNoQuery string parameter — return item(s) containing query
filters__created_atNoQuery string parameter — return item(s) created within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYYY-MM-...
filters__witness_idNoQuery string parameter — return item(s) with the specified Witness (Party) ID.
filters__date_receivedNoQuery string parameter — return item(s) within the specified date received date range. This assumes the dates provided are in the project time zone.
Behavior5/5

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

Annotations already declare readOnly/read-only, but the description adds substantial behavioral context: pagination details ('page and per_page control pagination and the response reports how many pages remain'), error payload structure with common HTTP statuses (401/403/404), and default project_id fallback. This goes well beyond what annotations provide and discloses operational behavior important for invocation.

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?

The description is efficiently structured and front-loaded: purpose first, then usage, then pagination/behavior, then errors, then required params/API endpoint. Every sentence adds value with no filler or redundancy, despite being fairly detailed.

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?

Given no output schema, the description covers return type (JSON array) and pagination status, plus error handling and API endpoint. It does not enumerate the fields of each recycled witness statement, which might be useful, but for a list/discovery tool the provided information is sufficient to select and invoke correctly. High complexity (9 params) is well addressed.

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 baseline is 3. The description adds meaningful semantics beyond the schema: `project_id` defaults to `procore_set_config` value, `page`/`per_page` control pagination, and `incident_id` scopes to a specific Incident. It doesn't detail every filter, but the schema already handles those, so this is a solid enhancement.

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 clearly states it 'Returns a list of Recycled Witness Statements for a given project (or Incident, if incident_id is present)' — a specific verb, resource, and scope. It also differentiates from siblings by explicitly positioning it for discovering recycled statements and looking up IDs before calling other tools, unlike `list_witness_statements` or `show_recycled_witness_statement`.

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?

The description gives clear use cases: 'Use this to discover recycled witness statements or to look up the id of one before calling a tool that needs it.' It implies scope via project/incident and notes default project_id behavior. While it doesn't explicitly name alternative tools to use for non-recycled statements, the context is strong enough to guide tool selection.

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/TylerIlunga/procore-mcp-server'

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